r79274 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79273‎ | r79274 | r79275 >
Date:17:32, 30 December 2010
Author:reedy
Status:ok
Tags:
Comment:
Fix spaces to tab from r79262
Modified paths:
  • /trunk/extensions/Renameuser/RenameUserJob.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Renameuser/RenameUserJob.php
@@ -22,18 +22,18 @@
2323 public function run() {
2424 $dbw = wfGetDB( DB_MASTER );
2525
26 - $table = $this->params['table'];
27 - $column = $this->params['column'];
28 - $oldname = $this->params['oldname'];
29 - $userID = isset( $this->params['userID'] ) ? $this->params['userID'] : null;
30 - $uidColumn = isset( $this->params['uidColumn'] ) ? $this->params['uidColumn'] : null;
31 - $timestampColumn = isset( $this->params['timestampColumn'] ) ? $this->params['timestampColumn'] : null;
32 - $minTimestamp = $this->params['minTimestamp'];
33 - $maxTimestamp = $this->params['maxTimestamp'];
34 - $uniqueKey = isset( $this->params['keyId'] ) ? $this->params['keyId'] : null;
35 - $keyId = $this->params['keyId'];
36 - $newname = $this->params['newname'];
37 - $count = $this->params['count'];
 26+ $table = $this->params['table'];
 27+ $column = $this->params['column'];
 28+ $oldname = $this->params['oldname'];
 29+ $userID = isset( $this->params['userID'] ) ? $this->params['userID'] : null;
 30+ $uidColumn = isset( $this->params['uidColumn'] ) ? $this->params['uidColumn'] : null;
 31+ $timestampColumn = isset( $this->params['timestampColumn'] ) ? $this->params['timestampColumn'] : null;
 32+ $minTimestamp = $this->params['minTimestamp'];
 33+ $maxTimestamp = $this->params['maxTimestamp'];
 34+ $uniqueKey = isset( $this->params['keyId'] ) ? $this->params['keyId'] : null;
 35+ $keyId = $this->params['keyId'];
 36+ $newname = $this->params['newname'];
 37+ $count = $this->params['count'];
3838
3939 # Conditions like "*_user_text = 'x'
4040 $conds = array( $column => $oldname );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79262Swap extract for explicit variable definitionsreedy16:40, 30 December 2010

Status & tagging log