// Fix bugs with category positions
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17293 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -78,6 +78,7 @@ class Blocktopmenu extends Module
|
||||
!$this->registerHook('actionObjectManufacturerDeleteAfter') ||
|
||||
!$this->registerHook('actionObjectProductUpdateAfter') ||
|
||||
!$this->registerHook('actionObjectProductDeleteAfter') ||
|
||||
!$this->registerHook('categoryUpdate') ||
|
||||
!$this->installDB())
|
||||
return false;
|
||||
return true;
|
||||
@@ -805,7 +806,7 @@ class Blocktopmenu extends Module
|
||||
$this->clearMenuCache();
|
||||
}
|
||||
|
||||
public function hookActionObjectCmsUpdateUpdate($params)
|
||||
public function hookActionObjectCmsUpdateAfter($params)
|
||||
{
|
||||
$this->clearMenuCache();
|
||||
}
|
||||
@@ -845,6 +846,11 @@ class Blocktopmenu extends Module
|
||||
$this->clearMenuCache();
|
||||
}
|
||||
|
||||
public function hookCategoryUpdate($params)
|
||||
{
|
||||
$this->clearMenuCache();
|
||||
}
|
||||
|
||||
private function clearMenuCache()
|
||||
{
|
||||
$this->_clearCache('blocktopmenu.tpl');
|
||||
|
||||
Reference in New Issue
Block a user