r24934 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24933‎ | r24934 | r24935 >
Date:08:04, 20 August 2007
Author:nickj
Status:old
Tags:
Comment:
Variable $user seemed to be used before it was defined - removing.
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -428,7 +428,7 @@
429429 case 'user' :
430430 $title = Title::makeTitleSafe( NS_USER, $value );
431431 if ( is_null( $title ) )
432 - $this->dieUsage("Invalid value $user for user parameter $encParamName", "baduser_{$encParamName}");
 432+ $this->dieUsage("Invalid value for user parameter $encParamName", "baduser_{$encParamName}");
433433 $value = $title->getText();
434434 break;
435435 default :

Follow-up revisions

RevisionCommit summaryAuthorDate
r25016Merged revisions 24866-25015 via svnmerge from...david23:06, 21 August 2007

Status & tagging log