From c3f5333f8b02937d52031ff4d136737903f85919 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 7 Jun 2010 14:39:10 +0000 Subject: 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 --- mod/groups/actions/edit.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod/groups/actions/edit.php') 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) { -- cgit v1.2.3