summaryrefslogtreecommitdiff
path: root/actions/newgroup.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-25 12:05:22 -0500
committerEvan Prodromou <evan@status.net>2010-02-25 12:05:22 -0500
commitd53b4b9b8411f8edbbeba57bdbc3b2e06c41c18e (patch)
tree2f6acc169e8061838ac92f4f78b8ab92f16021dd /actions/newgroup.php
parent8f42d375939116eff482b3d07a8feaa4cc29c984 (diff)
save mainpage element for groups
Diffstat (limited to 'actions/newgroup.php')
-rw-r--r--actions/newgroup.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/newgroup.php b/actions/newgroup.php
index 6bb3eca76..75bc293ec 100644
--- a/actions/newgroup.php
+++ b/actions/newgroup.php
@@ -180,6 +180,8 @@ class NewgroupAction extends Action
}
}
+ $mainpage = common_local_url('showgroup', array('nickname' => $nickname));
+
$cur = common_current_user();
// Checked in prepare() above
@@ -193,6 +195,7 @@ class NewgroupAction extends Action
'location' => $location,
'aliases' => $aliases,
'userid' => $cur->id,
+ 'mainpage' => $mainpage,
'local' => true));
common_redirect($group->homeUrl(), 303);