r62635 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62634‎ | r62635 | r62636 >
Date:01:28, 17 February 2010
Author:demon
Status:ok
Tags:
Comment:
Use __METHOD__
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -435,7 +435,7 @@
436436 */
437437 static function whoIs( $id ) {
438438 $dbr = wfGetDB( DB_SLAVE );
439 - return $dbr->selectField( 'user', 'user_name', array( 'user_id' => $id ), 'User::whoIs' );
 439+ return $dbr->selectField( 'user', 'user_name', array( 'user_id' => $id ), __METHOD__ );
440440 }
441441
442442 /**

Status & tagging log