From: Evan Prodromou Date: Wed, 21 Jan 2009 14:57:58 +0000 (-0500) Subject: remove admin link from group page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=79db73d4ac0f23e4177b712d0be98f92c289af01;p=quix0rs-gnu-social.git remove admin link from group page --- diff --git a/actions/showgroup.php b/actions/showgroup.php index 5c72996bfa..9dbad1127e 100644 --- a/actions/showgroup.php +++ b/actions/showgroup.php @@ -268,14 +268,6 @@ class ShowgroupAction extends Action if ($cur->isMember($this->group)) { $lf = new LeaveForm($this, $this->group); $lf->show(); - if ($cur->isAdmin($this->group)) { - $edit = common_local_url('editgroup', - array('nickname' => $this->group->nickname)); - $this->element('a', - array('href' => $edit, - 'id' => 'group_admin'), - _('Admin')); - } } else { $jf = new JoinForm($this, $this->group); $jf->show();