mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
pass logger to Authentication Service
This commit is contained in:
parent
d0c1b16332
commit
fdde3e29c5
|
@ -95,7 +95,8 @@ if($settings->_useHomeAsRootFolder && !$user->isAdmin() && $user->getHomeFolder(
|
|||
$dms->setRootFolderID($user->getHomeFolder());
|
||||
}
|
||||
|
||||
$notifier = new SeedDMS_NotificationService();
|
||||
global $logger;
|
||||
$notifier = new SeedDMS_NotificationService($logger);
|
||||
|
||||
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
|
||||
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
|
||||
|
|
|
@ -27,7 +27,7 @@ if($settings->_logFileEnable) {
|
|||
$log = null;
|
||||
}
|
||||
|
||||
$notifier = new SeedDMS_NotificationService();
|
||||
$notifier = new SeedDMS_NotificationService($log);
|
||||
|
||||
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
|
||||
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user