mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 20:51:30 +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());
|
$dms->setRootFolderID($user->getHomeFolder());
|
||||||
}
|
}
|
||||||
|
|
||||||
$notifier = new SeedDMS_NotificationService();
|
global $logger;
|
||||||
|
$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) {
|
||||||
|
|
|
@ -27,7 +27,7 @@ if($settings->_logFileEnable) {
|
||||||
$log = null;
|
$log = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$notifier = new SeedDMS_NotificationService();
|
$notifier = new SeedDMS_NotificationService($log);
|
||||||
|
|
||||||
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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user