$user = common_current_user();
if (!empty($user)) {
- $pn = new PersonalGroupNav($this->action, $user);
+ $pn = new PersonalGroupNav($this->action);
$this->submenu(_m('Home'), $pn);
-
- $sn = new SubGroupNav($this->action, $user);
- $this->submenu(_m('Profile'), $sn);
}
$bn = new PublicGroupNav($this->action);