summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-03-07 17:43:59 -0800
committerEvan Prodromou <evan@controlyourself.ca>2009-03-07 17:43:59 -0800
commit7d7d78b7f7a5065a866468c2e8b5bd536f56611a (patch)
treed22dca35b911fa17bc8097e23762e0c1ac2b2343 /actions
parentad83998f10952c3841b4b999b5a340ca26d329f7 (diff)
you can _so_ leave a group if you're its admin
Diffstat (limited to 'actions')
-rw-r--r--actions/leavegroup.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/actions/leavegroup.php b/actions/leavegroup.php
index 1d85aa3d5..eb30d0e50 100644
--- a/actions/leavegroup.php
+++ b/actions/leavegroup.php
@@ -96,12 +96,6 @@ class LeavegroupAction extends Action
return false;
}
- if ($cur->isAdmin($this->group)) {
- $this->clientError(_('You may not leave a group while you are its administrator.'), 403);
- return false;
-
- }
-
return true;
}