mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-30 20:51:22 +00:00
pass $dms to postAddService() and preAddService()
This commit is contained in:
parent
b6ab66dd2f
commit
9a23619f18
|
|
@ -63,7 +63,7 @@ if (isset($_COOKIE["mydms_session"])) {
|
||||||
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) {
|
||||||
if(method_exists($notificationObj, 'preAddService')) {
|
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'])) {
|
if(isset($GLOBALS['SEEDDMS_HOOKS']['notification'])) {
|
||||||
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
|
foreach($GLOBALS['SEEDDMS_HOOKS']['notification'] as $notificationObj) {
|
||||||
if(method_exists($notificationObj, 'postAddService')) {
|
if(method_exists($notificationObj, 'postAddService')) {
|
||||||
$notificationObj->postAddService($notifier);
|
$notificationObj->postAddService($dms, $notifier);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user