[-] MO: exec hook on hook registration #PSCFV-8977
This commit is contained in:
1 parent
0e0d8c58d0
commit
09359d011f
4 files changed
+21
-6
No files matched your search
@@ -668,6 +668,7 @@ abstract class ModuleCore
|
||||
if ($alias = Hook::getRetroHookName($hook_name))
|
||||
$hook_name = $alias;
|
||||
|
||||
Hook::exec('actionModuleRegisterHookBefore', array('object' => $this, 'hook_name' => $hook_name));
|
||||
// Get hook id
|
||||
$id_hook = Hook::getIdByName($hook_name);
|
||||
|
||||
@@ -714,6 +715,7 @@ abstract class ModuleCore
|
||||
));
|
||||
}
|
||||
|
||||
Hook::exec('actionModuleRegisterHookAfter', array('object' => $this, 'hook_name' => $hook_name));
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user