aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions')
-rw-r--r--mod/groups/actions/edit.php2
-rw-r--r--mod/groups/actions/join.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php
index 606c00ba7..75cc9354b 100644
--- a/mod/groups/actions/edit.php
+++ b/mod/groups/actions/edit.php
@@ -96,7 +96,7 @@ $group->save();
if ($new_group_flag) {
set_page_owner($group->guid);
$group->join($user);
- add_to_river('river/group/create','create',$user->guid,$group->guid);
+ add_to_river('river/group/create', 'create', $user->guid, $group->guid);
}
diff --git a/mod/groups/actions/join.php b/mod/groups/actions/join.php
index 55da1a17c..5ba0bed78 100644
--- a/mod/groups/actions/join.php
+++ b/mod/groups/actions/join.php
@@ -43,7 +43,7 @@
remove_entity_relationship($user->guid, 'membership_request', $group->guid);
// add to river
- add_to_river('river/group/create','join',$user->guid,$group->guid);
+ add_to_river('river/relationship/member/create','join',$user->guid,$group->guid);
forward($group->getURL());
exit;