X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateRecentChangesSource.php;h=25a51d72133d368cea727614ab4d1b80b5acef62;hb=ee734d0d3c7533bd9a690dbd71f5151da55c32ad;hp=e9c94070abac785960402eee5d2383169dfffb4a;hpb=0619388d87ff07ad0100a57b81d61d2c034fd8cc;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateRecentChangesSource.php b/maintenance/populateRecentChangesSource.php index e9c94070ab..25a51d7213 100644 --- a/maintenance/populateRecentChangesSource.php +++ b/maintenance/populateRecentChangesSource.php @@ -46,6 +46,7 @@ class PopulateRecentChangesSource extends LoggedUpdateMaintenance { $start = $dbw->selectField( 'recentchanges', 'MIN(rc_id)', false, __METHOD__ ); if ( !$start ) { $this->output( "Nothing to do.\n" ); + return true; } $end = $dbw->selectField( 'recentchanges', 'MAX(rc_id)', false, __METHOD__ );