r81958 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81957‎ | r81958 | r81959 >
Date:11:37, 11 February 2011
Author:reedy
Status:ok
Tags:
Comment:
Partial revert to r81905
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilterVariableHolder.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/AbuseFilterVariableHolder.php
@@ -330,7 +330,7 @@
331331 );
332332
333333 $users = array();
334 - foreach ( $res as $user ) {
 334+ while ( $user = $dbr->fetchRow( $res ) ) {
335335 $users[] = $user[0];
336336 }
337337 $result = $users;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81905while to foreach...reedy17:25, 10 February 2011

Status & tagging log