r77639 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77638‎ | r77639 | r77640 >
Date:10:08, 3 December 2010
Author:ialex
Status:ok
Tags:
Comment:
Use __METHOD__ instead of incorrect 'BackupDumper::dump'
Modified paths:
  • /trunk/phase3/maintenance/backup.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/backup.inc
@@ -230,7 +230,7 @@
231231 $field = ( $history == WikiExporter::CURRENT ) ? 'page_id' : 'rev_id';
232232
233233 $dbr = wfGetDB( DB_SLAVE );
234 - $this->maxCount = $dbr->selectField( $table, "MAX($field)", '', 'BackupDumper::dump' );
 234+ $this->maxCount = $dbr->selectField( $table, "MAX($field)", '', __METHOD__ );
235235 $this->startTime = wfTime();
236236 }
237237

Status & tagging log