pass $dms to postAddService() and preAddService()

This commit is contained in:
Uwe Steinmann 2018-02-07 19:02:09 +01:00
parent b6ab66dd2f
commit 9a23619f18

View File

@ -63,7 +63,7 @@ if (isset($_COOKIE["mydms_session"])) {
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
if(method_exists($notificationObj, 'preAddService')) {
$notificationObj->preAddService($notifier);
$notificationObj->preAddService($dms, $notifier);
}
}
}
@ -75,7 +75,7 @@ if (isset($_COOKIE["mydms_session"])) {
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
if(method_exists($notificationObj, 'postAddService')) {
$notificationObj->postAddService($notifier);
$notificationObj->postAddService($dms, $notifier);
}
}
}