Fixed missing logger injection

This commit is contained in:
Dylan K. Taylor 2019-03-03 23:31:23 +00:00
parent 8cb24547ff
commit dfc26395e2

View File

@ -132,7 +132,7 @@ class FormatConverter{
$start = microtime(true); $start = microtime(true);
$thisRound = $start; $thisRound = $start;
static $reportInterval = 256; static $reportInterval = 256;
foreach($this->oldProvider->getAllChunks(true) as $chunk){ foreach($this->oldProvider->getAllChunks(true, $this->logger) as $chunk){
$new->saveChunk($chunk); $new->saveChunk($chunk);
$counter++; $counter++;
if(($counter % $reportInterval) === 0){ if(($counter % $reportInterval) === 0){