Index: trunk/extensions/MoodBar/updateMoodBarFeedback.php |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | array( 'MAX(mbfr_id) AS latest_mbfr_id', 'mbf_id' ), |
42 | 42 | array( 'mbf_id=mbfr_mbf_id', 'mbf_latest_response' => 0, 'mbf_id > ' . $lastMbfId ), |
43 | 43 | __METHOD__, |
44 | | - array( 'ORDER BY' => 'mbf_id', 'GROUP BY' => 'mbf_id', "LIMIT $batchSize" ) |
| 44 | + array( 'ORDER BY' => 'mbf_id', 'GROUP BY' => 'mbf_id', 'LIMIT' => $batchSize ) |
45 | 45 | ); |
46 | 46 | |
47 | 47 | foreach ( $res as $row ) { |
— | — | @@ -56,7 +56,7 @@ |
57 | 57 | $lastMbfId = $mbfId; |
58 | 58 | } |
59 | 59 | |
60 | | - $totalCount = $totalCount + $count; |
| 60 | + $totalCount += $count; |
61 | 61 | |
62 | 62 | $this->output( $count . "\n" ); |
63 | 63 | wfWaitForSlaves(); |