r56516 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56515‎ | r56516 | r56517 >
Date:14:33, 17 September 2009
Author:werdna
Status:ok
Tags:
Comment:
Change fetchUser back to non-static (it stayed static after reverting those revs for some reason
Modified paths:
  • /branches/wmf-deployment/includes/specials/SpecialUserrights.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/includes/specials/SpecialUserrights.php
@@ -272,7 +272,7 @@
273273 * Side effects: error output for invalid access
274274 * @return mixed User, UserRightsProxy, or WikiErrorMsg
275275 */
276 - public static function fetchUser( $username ) {
 276+ public function fetchUser( $username ) {
277277 global $wgUser, $wgUserrightsInterwikiDelimiter;
278278
279279 $parts = explode( $wgUserrightsInterwikiDelimiter, $username );

Status & tagging log