mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +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());
|
$dms->setRootFolderID($user->getHomeFolder());
|
||||||
}
|
}
|
||||||
|
|
||||||
$notifier = new SeedDMS_NotificationService();
|
$notifier = new SeedDMS_NotificationService($logger);
|
||||||
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
|
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
|
||||||
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
|
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
|
||||||
if(method_exists($notificationObj, 'preAddService')) {
|
if(method_exists($notificationObj, 'preAddService')) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user