pass $logger to notification service

This commit is contained in:
Uwe Steinmann 2021-01-30 15:08:40 +01:00
parent 286f2d0f95
commit 899d89a2a9

View File

@ -63,7 +63,7 @@ if (isset($_COOKIE["mydms_session"])) {
$dms->setRootFolderID($user->getHomeFolder());
}
$notifier = new SeedDMS_NotificationService();
$notifier = new SeedDMS_NotificationService($logger);
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
if(method_exists($notificationObj, 'preAddService')) {