Merge pull request #3 from maximebiloe/register-hook

Register hook on install
This commit is contained in:
Mickaël Andrieu
2016-09-02 10:42:58 +02:00
committed by GitHub
+2 -1
View File
@@ -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;
}