add method sendNewDocumentMail(), settings can be passed to construct

This commit is contained in:
Uwe Steinmann 2021-05-14 21:55:00 +02:00
parent e5159ca7f9
commit e40fcf1c2c

View File

@ -13,7 +13,7 @@
*/
global $logger;
$notifier = new SeedDMS_NotificationService($logger);
$notifier = new SeedDMS_NotificationService($logger, $settings);
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {