hook on ics generation to add more events in eventarray
This commit is contained in:
parent
82a92b3c08
commit
caaa95da6a
@ -1721,6 +1721,13 @@ class ActionComm extends CommonObject
|
||||
}
|
||||
$diff++;
|
||||
}
|
||||
|
||||
$parameters=array('filters' => $filters, 'eventarray' => &$eventarray);
|
||||
$reshook=$hookmanager->executeHooks('addMoreEventsExport', $parameters); // Note that $action and $object may have been modified by hook
|
||||
if ($reshook > 0)
|
||||
{
|
||||
$eventarray = $hookmanager->resArray;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user