[-] MO : fixed bug #PSCFV-2269 - reset cache module block categories
This commit is contained in:
1 parent
d05ca8bed8
commit
2033c6aeb8
1 file changed
+2
-2
@@ -52,7 +52,7 @@ class BlockCategories extends Module
|
|||||||
!$this->registerHook('categoryAddition') ||
|
!$this->registerHook('categoryAddition') ||
|
||||||
!$this->registerHook('categoryUpdate') ||
|
!$this->registerHook('categoryUpdate') ||
|
||||||
!$this->registerHook('categoryDeletion') ||
|
!$this->registerHook('categoryDeletion') ||
|
||||||
!$this->registerHook('afterSaveAdminMeta') ||
|
!$this->registerHook('actionAdminMetaControllerUpdate_optionsAfter') ||
|
||||||
!Configuration::updateValue('BLOCK_CATEG_MAX_DEPTH', 4) ||
|
!Configuration::updateValue('BLOCK_CATEG_MAX_DEPTH', 4) ||
|
||||||
!Configuration::updateValue('BLOCK_CATEG_DHTML', 1))
|
!Configuration::updateValue('BLOCK_CATEG_DHTML', 1))
|
||||||
return false;
|
return false;
|
||||||
@@ -340,7 +340,7 @@ class BlockCategories extends Module
|
|||||||
$this->_clearBlockcategoriesCache();
|
$this->_clearBlockcategoriesCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hookAfterSaveAdminMeta($params)
|
public function hookActionAdminMetaControllerUpdate_optionsAfter($params)
|
||||||
{
|
{
|
||||||
$this->_clearBlockcategoriesCache();
|
$this->_clearBlockcategoriesCache();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user