From: Bartosz DziewoƄski Date: Wed, 23 Nov 2016 15:37:39 +0000 (+0100) Subject: SpecialUserrights: Remove incorrect comment X-Git-Tag: 1.31.0-rc.0~4758^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=6814083b52d902f5bf577cc07a3b2c1517dd663d;p=lhc%2Fweb%2Fwiklou.git SpecialUserrights: Remove incorrect comment While this used to be true, it no longer is since we require at least PHP 5.5, and I don't see how this would improve the code here anyway. Change-Id: Ica1995f1b2208f2a99696cf0a0010131737d490f --- diff --git a/includes/specials/SpecialUserrights.php b/includes/specials/SpecialUserrights.php index 30b050c661..6ded6d9dd7 100644 --- a/includes/specials/SpecialUserrights.php +++ b/includes/specials/SpecialUserrights.php @@ -707,7 +707,6 @@ class UserrightsPage extends SpecialPage { * @return bool Can we remove the group? */ private function canRemove( $group ) { - // $this->changeableGroups()['remove'] doesn't work, of course. Thanks, PHP. $groups = $this->changeableGroups(); return in_array(