Add new doActions hook

This commit is contained in:
John 2017-11-23 12:08:33 +01:00
parent b22dfcf533
commit d8f18e18ce

View File

@ -56,6 +56,10 @@ $now = dol_now();
if ($user->societe_id > 0) if ($user->societe_id > 0)
accessforbidden(); accessforbidden();
$hookmanager->initHooks(array('purchasesjournal'));
$parameters=array();
$reshook=$hookmanager->executeHooks('doActions',$parameters,$user,$action); // Note that $action and $object may have been modified by some hooks
/* /*
* Actions * Actions
*/ */