r68739 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68738‎ | r68739 | r68740 >
Date:20:22, 29 June 2010
Author:reedy
Status:ok
Tags:
Comment:
Rem superfluous code, as per comments on r68338
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryAllUsers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryAllUsers.php
@@ -133,7 +133,7 @@
134134 foreach ( $res as $row ) {
135135 $count++;
136136
137 - if ( !$row || $lastUser !== $row->user_name ) {
 137+ if ( $lastUser !== $row->user_name ) {
138138 // Save the last pass's user data
139139 if ( is_array( $lastUserData ) ) {
140140 $fit = $result->addValue( array( 'query', $this->getModuleName() ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68338Do ApiQueryAllUsers per r68337 (was using while (true)..)reedy18:52, 20 June 2010

Status & tagging log