summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-21 09:57:58 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-01-21 09:57:58 -0500
commit79db73d4ac0f23e4177b712d0be98f92c289af01 (patch)
treeff889c265f5bb665f2493d6e68b0f5dc5384f2c9 /actions
parent394977b739a18ba0befc203d80ef482d9d87ef7e (diff)
remove admin link from group page
Diffstat (limited to 'actions')
-rw-r--r--actions/showgroup.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/actions/showgroup.php b/actions/showgroup.php
index 5c72996bf..9dbad1127 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();