Fix logging by adapting new method signature

This commit is contained in:
Björn Fromme
2019-06-14 08:14:16 +02:00
parent 9394c7f5e2
commit b0f5effc15
@@ -175,7 +175,7 @@ class SnowreportImportService implements SingletonInterface
$this->persistenceManager->persistAll();
$GLOBALS['BE_USER']->writelog(sprintf('Snowreport XML import successful (%d records).', $count), 'ex_epproducts');
$GLOBALS['BE_USER']->writelog(4, 0, 0, 0, sprintf('Snowreport XML import successful (%d records).', $count), []);
return $count;
}
@@ -222,7 +222,7 @@ class SnowreportImportService implements SingletonInterface
return;
}
$GLOBALS['BE_USER']->writelog('Snowreport XML download failed. Keeping existing file.', 'ex_epproducts');
$GLOBALS['BE_USER']->writelog(4, 0, 0, 0, 'Snowreport XML download failed. Keeping existing file.', []);
@rename($backupPath, $path);
}