From e40fcf1c2cedc80db54ccf12b7f831aa4d931234 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 14 May 2021 21:55:00 +0200 Subject: [PATCH] add method sendNewDocumentMail(), settings can be passed to construct --- inc/inc.Notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/inc.Notification.php b/inc/inc.Notification.php index cfc3ab615..e02404a13 100644 --- a/inc/inc.Notification.php +++ b/inc/inc.Notification.php @@ -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) {