// Clean hooks name cache when a hook is added
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15682 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
0aa17da9fd
commit
4182732c2a
1 file changed
+6
@@ -82,6 +82,12 @@ class HookCore extends ObjectModel
|
|||||||
*/
|
*/
|
||||||
protected static $_hook_modules_cache_exec = null;
|
protected static $_hook_modules_cache_exec = null;
|
||||||
|
|
||||||
|
public function add($autodate = true, $null_values = false)
|
||||||
|
{
|
||||||
|
Cache::clean('hook_idbyname_'.$this->name);
|
||||||
|
return parent::add($autodate, $null_values);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return Hooks List
|
* Return Hooks List
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user