mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix restore declaration to avoid to many uncompatibility problems.
This commit is contained in:
@@ -65,7 +65,7 @@ class InterfaceMyModuleTriggers extends DolibarrTriggers
|
||||
* @param Conf $conf Object conf
|
||||
* @return int Return integer <0 if KO, 0 if no triggered ran, >0 if OK
|
||||
*/
|
||||
public function runTrigger(string $action, $object, User $user, Translate $langs, Conf $conf)
|
||||
public function runTrigger($action, $object, User $user, Translate $langs, Conf $conf)
|
||||
{
|
||||
if (!isModEnabled('mymodule')) {
|
||||
return 0; // If module is not enabled, we do nothing
|
||||
|
||||
Reference in New Issue
Block a user