X-Git-Url: http://git.cyclocoop.org/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?a=blobdiff_plain;ds=sidebyside;f=maintenance%2FpopulateLogUsertext.php;h=3c0bba97c12405083e3fb0c84e8ac57461c1e846;hb=2e3696b224b6baf4b71c61331645724a90375f39;hp=cacd067f3eb8846b2c14d61bb1b595b03d39e385;hpb=3bfcc2a9fe52f045206f465363ac1ba6a843ba69;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateLogUsertext.php b/maintenance/populateLogUsertext.php index cacd067f3e..3c0bba97c1 100644 --- a/maintenance/populateLogUsertext.php +++ b/maintenance/populateLogUsertext.php @@ -50,13 +50,13 @@ class PopulateLogUsertext extends LoggedUpdateMaintenance { protected function doDBUpdates() { $batchSize = $this->getBatchSize(); $db = $this->getDB( DB_MASTER ); - $start = $db->selectField( 'logging', 'MIN(log_id)', false, __METHOD__ ); + $start = $db->selectField( 'logging', 'MIN(log_id)', '', __METHOD__ ); if ( !$start ) { $this->output( "Nothing to do.\n" ); return true; } - $end = $db->selectField( 'logging', 'MAX(log_id)', false, __METHOD__ ); + $end = $db->selectField( 'logging', 'MAX(log_id)', '', __METHOD__ ); // If this is being run during an upgrade from 1.16 or earlier, this // will be run before the actor table change and should continue. But