[-] MO : fixed bug #PSCFV-2269 - reset cache module block categories

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15158 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-05-10 09:44:48 +00:00
parent 28bbef20aa
commit 9ffe8b1056
+2 -2
View File
@@ -52,7 +52,7 @@ class BlockCategories extends Module
!$this->registerHook('categoryAddition') ||
!$this->registerHook('categoryUpdate') ||
!$this->registerHook('categoryDeletion') ||
!$this->registerHook('afterSaveAdminMeta') ||
!$this->registerHook('actionAdminMetaControllerUpdate_optionsAfter') ||
!Configuration::updateValue('BLOCK_CATEG_MAX_DEPTH', 4) ||
!Configuration::updateValue('BLOCK_CATEG_DHTML', 1))
return false;
@@ -340,7 +340,7 @@ class BlockCategories extends Module
$this->_clearBlockcategoriesCache();
}
public function hookAfterSaveAdminMeta($params)
public function hookActionAdminMetaControllerUpdate_optionsAfter($params)
{
$this->_clearBlockcategoriesCache();
}