[*] MO : Remove calls to isRegisteredInHook in crossselling and productscategory
This commit is contained in:
1 parent
7e93b2cffd
commit
8dd951c2df
4 files changed
+22
-6
No files matched your search
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
if (!defined('_PS_VERSION_'))
|
||||
exit;
|
||||
|
||||
function upgrade_module_0_8($object)
|
||||
{
|
||||
if (!$object->isRegisteredInHook('header'))
|
||||
return $object->registerHook('header');
|
||||
return true;
|
||||
}
|
||||
Reference in new issue
Block a user