mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +00:00
add method sendNewDocumentMail(), settings can be passed to construct
This commit is contained in:
parent
e5159ca7f9
commit
e40fcf1c2c
|
@ -13,7 +13,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
global $logger;
|
global $logger;
|
||||||
$notifier = new SeedDMS_NotificationService($logger);
|
$notifier = new SeedDMS_NotificationService($logger, $settings);
|
||||||
|
|
||||||
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