r64871 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64870‎ | r64871 | r64872 >
Date:12:14, 10 April 2010
Author:catrope
Status:ok
Tags:
Comment:
Followup to r64850: replace $username with the right var
Modified paths:
  • /trunk/phase3/includes/api/ApiRollback.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiRollback.php
@@ -46,7 +46,7 @@
4747 $articleObj = new Article( $this->mTitleObj );
4848 $summary = ( isset( $params['summary'] ) ? $params['summary'] : '' );
4949 $details = null;
50 - $retval = $articleObj->doRollback( $params['user'], $summary, $params['token'], $params['markbot'], $details );
 50+ $retval = $articleObj->doRollback( $this->username, $summary, $params['token'], $params['markbot'], $details );
5151
5252 if ( $retval ) {
5353 // We don't care about multiple errors, just report one of them

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64850fix a bug where an undefined var was used, api actually works now?mah04:31, 10 April 2010

Status & tagging log