1
This commit is contained in:
parent
899598bbb3
commit
316380afd2
@ -81,7 +81,7 @@ class Notify
|
||||
'EXPENSE_REPORT_APPROVE',
|
||||
'HOLIDAY_VALIDATE',
|
||||
'HOLIDAY_APPROVE',
|
||||
'ACTION_CREATE',
|
||||
'ACTION_CREATE'
|
||||
);
|
||||
|
||||
/**
|
||||
@ -363,7 +363,7 @@ class Notify
|
||||
$hookmanager->initHooks(array('notification'));
|
||||
|
||||
|
||||
$reshook = $hookmanager->executeHooks('notifsupported');
|
||||
$reshook = $hookmanager->executeHooks('notifsupported', $parameters, $object, $action);
|
||||
if (empty($reshook)) {
|
||||
if (!empty($hookmanager->resArray['arrayofnotifsupported'])) {
|
||||
Notify::$arrayofnotifsupported = array_merge(Notify::$arrayofnotifsupported, $hookmanager->resArray['arrayofnotifsupported']);
|
||||
|
||||
@ -100,7 +100,7 @@ class InterfaceNotification extends DolibarrTriggers
|
||||
}
|
||||
$hookmanager->initHooks(array('notification'));
|
||||
|
||||
$reshook = $hookmanager->executeHooks('notifsupported');
|
||||
$reshook = $hookmanager->executeHooks('notifsupported', $parameters, $object, $action);
|
||||
if (empty($reshook)) {
|
||||
if (!empty($hookmanager->resArray['arrayofnotifsupported'])) {
|
||||
$this->listofmanagedevents = array_merge($this->listofmanagedevents, $hookmanager->resArray['arrayofnotifsupported']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user