aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/addtogroup.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-28 11:56:50 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-28 11:56:50 +0000
commitcd458ced728dff7ce08ed37bfba958e931178966 (patch)
tree28732f516d552918f3959dd4f4a5bb65afc421b0 /mod/groups/actions/addtogroup.php
parent30e1c62a4e54f61c7fd308afe3de3bd3f067e5db (diff)
downloadelgg-cd458ced728dff7ce08ed37bfba958e931178966.tar.gz
elgg-cd458ced728dff7ce08ed37bfba958e931178966.tar.bz2
Removed email force from notification emails
git-svn-id: https://code.elgg.org/elgg/trunk@2993 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions/addtogroup.php')
-rw-r--r--mod/groups/actions/addtogroup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/actions/addtogroup.php b/mod/groups/actions/addtogroup.php
index 97f10aef2..52494760f 100644
--- a/mod/groups/actions/addtogroup.php
+++ b/mod/groups/actions/addtogroup.php
@@ -51,7 +51,7 @@
notify_user($user->getGUID(), $group->owner_guid,
sprintf(elgg_echo('groups:welcome:subject'), $group->name),
sprintf(elgg_echo('groups:welcome:body'), $user->name, $group->name, $group->getURL()),
- NULL, "email");
+ NULL);
system_message(elgg_echo('groups:addedtogroup'));
}
@@ -70,7 +70,7 @@
if (notify_user($user->getGUID(), $group->owner_guid,
sprintf(elgg_echo('groups:invite:subject'), $user->name, $group->name),
sprintf(elgg_echo('groups:invite:body'), $user->name, $group->name, "{$CONFIG->url}action/groups/join?user_guid={$user->guid}&group_guid={$group->guid}"),
- NULL, "email"))
+ NULL))
system_message(elgg_echo("groups:userinvited"));
else
register_error(elgg_echo("groups:usernotinvited"));