aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/join.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-22 11:01:02 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-22 11:01:02 +0000
commita6e8eb522323fa2e3f2c1fd6e58a3eec9857db63 (patch)
treee6e5647c75790a1f82840cc529be5947367f0a30 /mod/groups/actions/join.php
parent310491e9e83f0ba6309c0d87928e38a79a0d1f87 (diff)
downloadelgg-a6e8eb522323fa2e3f2c1fd6e58a3eec9857db63.tar.gz
elgg-a6e8eb522323fa2e3f2c1fd6e58a3eec9857db63.tar.bz2
new join group river view added
git-svn-id: https://code.elgg.org/elgg/trunk@2876 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions/join.php')
-rw-r--r--mod/groups/actions/join.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/groups/actions/join.php b/mod/groups/actions/join.php
index 6d55d3636..7e55306f5 100644
--- a/mod/groups/actions/join.php
+++ b/mod/groups/actions/join.php
@@ -35,7 +35,9 @@
// Remove any invite or join request flags
remove_metadata($user->guid, 'group_invite', $group->guid);
remove_metadata($user->guid, 'group_join_request', $group->guid);
-
+ // add to river
+ add_to_river('river/group/create','join',$user->guid,$group->guid);
+
forward($group->getURL());
exit;
}