Merge pull request #3 from maximebiloe/register-hook
Register hook on install
This commit is contained in:
+2
-1
@@ -86,7 +86,8 @@ class Ps_MainMenu extends Module implements WidgetInterface
|
||||
!$this->registerHook('actionObjectProductDeleteAfter') ||
|
||||
!$this->registerHook('actionObjectProductAddAfter') ||
|
||||
!$this->registerHook('categoryUpdate') ||
|
||||
!$this->registerHook('actionShopDataDuplication')) {
|
||||
!$this->registerHook('actionShopDataDuplication') ||
|
||||
!$this->registerHook('displayTop')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user