mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
pass $logger to notification service
This commit is contained in:
parent
286f2d0f95
commit
899d89a2a9
|
@ -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')) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user