X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateRecentChangesSource.php;h=8a56d7d8759d971a1a5692801125170473f96926;hb=a3fc63d171a347332c2fd9a182335bc17f47ed16;hp=4ac348672b024b3c9e67f0953c57f599b94b5347;hpb=74426f3cf796b149f1ae445e41815bbe148640b2;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateRecentChangesSource.php b/maintenance/populateRecentChangesSource.php index 4ac348672b..8a56d7d875 100644 --- a/maintenance/populateRecentChangesSource.php +++ b/maintenance/populateRecentChangesSource.php @@ -46,13 +46,13 @@ class PopulateRecentChangesSource extends LoggedUpdateMaintenance { $this->error( 'rc_source field in recentchanges table does not exist.' ); } - $start = $dbw->selectField( 'recentchanges', 'MIN(rc_id)', false, __METHOD__ ); + $start = $dbw->selectField( 'recentchanges', 'MIN(rc_id)', '', __METHOD__ ); if ( !$start ) { $this->output( "Nothing to do.\n" ); return true; } - $end = $dbw->selectField( 'recentchanges', 'MAX(rc_id)', false, __METHOD__ ); + $end = $dbw->selectField( 'recentchanges', 'MAX(rc_id)', '', __METHOD__ ); $end += $batchSize - 1; $blockStart = $start; $blockEnd = $start + $batchSize - 1;