X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateLogUsertext.php;h=3c0bba97c12405083e3fb0c84e8ac57461c1e846;hb=2aeede8f4c56209e0ea786d23d4c809a9d8f34d6;hp=cacd067f3eb8846b2c14d61bb1b595b03d39e385;hpb=9c5f56ef68cc4713f65973058dc56d2c7b9d0cf9;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