Index: trunk/extensions/Renameuser/RenameUserJob.php |
— | — | @@ -22,18 +22,18 @@ |
23 | 23 | public function run() { |
24 | 24 | $dbw = wfGetDB( DB_MASTER ); |
25 | 25 | |
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']; |
38 | 38 | |
39 | 39 | # Conditions like "*_user_text = 'x' |
40 | 40 | $conds = array( $column => $oldname ); |