Index: trunk/phase3/includes/specials/SpecialUserrights.php |
— | — | @@ -144,7 +144,7 @@ |
145 | 145 | function saveUserGroups( $username, $reason = '' ) { |
146 | 146 | global $wgRequest, $wgUser, $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf; |
147 | 147 | |
148 | | - $user = $this->fetchUser( $username ); |
| 148 | + $user = self::fetchUser( $username ); |
149 | 149 | if( $user instanceof WikiErrorMsg ) { |
150 | 150 | $wgOut->addWikiMsgArray( $user->getMessageKey(), $user->getMessageArgs() ); |
151 | 151 | return; |
— | — | @@ -250,7 +250,7 @@ |
251 | 251 | function editUserGroupsForm( $username ) { |
252 | 252 | global $wgOut; |
253 | 253 | |
254 | | - $user = $this->fetchUser( $username ); |
| 254 | + $user = self::fetchUser( $username ); |
255 | 255 | if( $user instanceof WikiErrorMsg ) { |
256 | 256 | $wgOut->addWikiMsgArray( $user->getMessageKey(), $user->getMessageArgs() ); |
257 | 257 | return; |