aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups')
-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"));