diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-07 14:39:10 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-07 14:39:10 +0000 |
commit | c3f5333f8b02937d52031ff4d136737903f85919 (patch) | |
tree | c1d3e1ed9519324349b8671847997b9b14ea0d80 /mod/groups/actions/edit.php | |
parent | bd022ba6ff94729d6aec18f7fd40f913f51f84f9 (diff) | |
download | elgg-c3f5333f8b02937d52031ff4d136737903f85919.tar.gz elgg-c3f5333f8b02937d52031ff4d136737903f85919.tar.bz2 |
creating a new group now displays in the activity stream.
git-svn-id: http://code.elgg.org/elgg/trunk@6381 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions/edit.php')
-rw-r--r-- | mod/groups/actions/edit.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php index 361f81757..bc2530111 100644 --- a/mod/groups/actions/edit.php +++ b/mod/groups/actions/edit.php @@ -90,7 +90,9 @@ if (isset($CONFIG->group_tool_options)) { } } -$group->save(); +if($group->save()){ + add_to_river('river/group/create','create',$user->guid,$group->guid); +} // group creator needs to be member of new group if ($new_group_flag) { |