From: Sam Reed Date: Wed, 18 Aug 2010 20:34:42 +0000 (+0000) Subject: Followup to r68338, remove useless code (row is overwritten by loop) X-Git-Tag: 1.31.0-rc.0~35448 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=4ef46d000662fb7154f2edf6fc249c2913347e48;p=lhc%2Fweb%2Fwiklou.git Followup to r68338, remove useless code (row is overwritten by loop) --- diff --git a/includes/api/ApiQueryAllUsers.php b/includes/api/ApiQueryAllUsers.php index d58585a926..a41f2a97d7 100644 --- a/includes/api/ApiQueryAllUsers.php +++ b/includes/api/ApiQueryAllUsers.php @@ -132,7 +132,6 @@ class ApiQueryAllUsers extends ApiQueryBase { // The setContinue... is more complex because of this, and takes into account the higher sql limit // to make sure all rows that belong to the same user are received. - $row = $db->fetchObject( $res ); foreach ( $res as $row ) { $count++;