Add new doActions hook

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

View File

@ -55,7 +55,11 @@ $now = dol_now();
// Security check
if ($user->societe_id > 0)
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
*/