From b0f5effc15d924f04c1cca7e2b39f7e23eb77de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Fri, 14 Jun 2019 08:14:16 +0200 Subject: [PATCH] Fix logging by adapting new method signature --- .../ep_products/Classes/Service/SnowreportImportService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/typo3conf/ext/ep_products/Classes/Service/SnowreportImportService.php b/public/typo3conf/ext/ep_products/Classes/Service/SnowreportImportService.php index 972d803c..68a36732 100644 --- a/public/typo3conf/ext/ep_products/Classes/Service/SnowreportImportService.php +++ b/public/typo3conf/ext/ep_products/Classes/Service/SnowreportImportService.php @@ -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); }