r81201 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81200‎ | r81201 | r81202 >
Date:03:24, 30 January 2011
Author:mah
Status:ok
Tags:
Comment:
followup r75647 typo in var name
Modified paths:
  • /trunk/extensions/AntiSpoof/batchAntiSpoof.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AntiSpoof/batchAntiSpoof.php
@@ -12,7 +12,7 @@
1313
1414 $result = $dbw->select( 'user', 'user_name', null, 'batchAntiSpoof.php' );
1515 $n = 0;
16 -foreach( $res as $row ) {
 16+foreach( $result as $row ) {
1717 if ( $n++ % $batchSize == 0 ) {
1818 echo "$wgDBname $n\n";
1919 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r813941.17: MFT r81026, r81116, r81155, r81201, r81204, r81205, r81220, r81235, r81...catrope15:33, 2 February 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r75647Fixup some while to foreach. Remove an unused globalreedy16:06, 29 October 2010

Status & tagging log