X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=maintenance%2FpopulateLogUsertext.php;h=96cb1ec9db83042805cc76531daae38e89bdfb75;hb=c3704788f97ad34911dea35c92cfe7d05cce6e0a;hp=e579e52213ba1d430fda429c9e25b83988f1bde9;hpb=f0a00a49b1be46b51aeef712f363305bce4448fa;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateLogUsertext.php b/maintenance/populateLogUsertext.php index e579e52213..96cb1ec9db 100644 --- a/maintenance/populateLogUsertext.php +++ b/maintenance/populateLogUsertext.php @@ -52,6 +52,7 @@ class PopulateLogUsertext extends LoggedUpdateMaintenance { $start = $db->selectField( 'logging', 'MIN(log_id)', false, __METHOD__ ); if ( !$start ) { $this->output( "Nothing to do.\n" ); + return true; } $end = $db->selectField( 'logging', 'MAX(log_id)', false, __METHOD__ ); @@ -77,6 +78,7 @@ class PopulateLogUsertext extends LoggedUpdateMaintenance { wfWaitForSlaves(); } $this->output( "Done populating log_user_text field.\n" ); + return true; } }