]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
remove admin link from group page
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 21 Jan 2009 14:57:58 +0000 (09:57 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 21 Jan 2009 14:57:58 +0000 (09:57 -0500)
actions/showgroup.php

index 5c72996bfab1c9fe758da1db0e72ab29a342e7a5..9dbad1127e905e1c4abe8c6504e2616175cf246f 100644 (file)
@@ -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();