$this->group->homepage = $homepage;
$this->group->description = $description;
$this->group->location = $location;
+ $this->group->mainpage = common_local_url('showgroup', array('nickname' => $nickname));
$result = $this->group->update($orig);
}
}
+ $mainpage = common_local_url('showgroup', array('nickname' => $nickname));
+
$cur = common_current_user();
// Checked in prepare() above
'location' => $location,
'aliases' => $aliases,
'userid' => $cur->id,
+ 'mainpage' => $mainpage,
'local' => true));
common_redirect($group->homeUrl(), 303);
$group->description = $description;
$group->location = $location;
$group->uri = $uri;
+ $group->mainpage = $mainpage;
$group->created = common_sql_now();
$result = $group->insert();