SpecialUserrights: Remove incorrect comment
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 23 Nov 2016 15:37:39 +0000 (16:37 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 24 Nov 2016 17:04:55 +0000 (17:04 +0000)
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

includes/specials/SpecialUserrights.php

index 30b050c..6ded6d9 100644 (file)
@@ -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(