r81959 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r81958
|
r81959
|
r81960
>
Date:
11:42, 11 February 2011
Author:
reedy
Status:
ok
Tags:
Comment:
Then do the swap to foreach properly
Modified paths:
/trunk/extensions/AbuseFilter/AbuseFilterVariableHolder.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/AbuseFilter/AbuseFilterVariableHolder.php
—
—
@@ -330,8 +330,8 @@
331
331
);
332
332
333
333
$users = array();
334
- while ( $user = $dbr->fetchRow( $res ) ) {
335
- $users[] = $user[0];
334
+ foreach( $res as $row ) {
335
+ $users[] = $row->rev_user_text;
336
336
}
337
337
$result = $users;
338
338
break;
Status & tagging log
15:40, 18 April 2011
😂
(
talk
|
contribs
)
changed the
status
of r81959
[
removed:
new
added:
ok]