do not pass $dms and $settings to (pre|post)AddService

This commit is contained in:
Uwe Steinmann 2016-04-04 16:40:41 +02:00
parent 5de44791ff
commit f4b6b9b6e1

View File

@ -97,7 +97,7 @@ $notifier = new SeedDMS_NotificationService();
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
if(method_exists($notificationObj, 'preAddService')) {
$notificationObj->preAddService($dms, $settings, $notifier);
$notificationObj->preAddService($notifier);
}
}
}
@ -109,7 +109,7 @@ if($settings->_enableEmail) {
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
if(method_exists($notificationObj, 'postAddService')) {
$notificationObj->postAddService($dms, $settings, $notifier);
$notificationObj->postAddService($notifier);
}
}
}