//fixed smarty cache on block category
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16226 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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('actionAdminMetaControllerUpdate_optionsAfter') ||
|
!$this->registerHook('actionAdminMetaControllerUpdate_optionsBefore') ||
|
||||||
!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 hookActionAdminMetaControllerUpdate_optionsAfter($params)
|
public function hookActionAdminMetaControllerUpdate_optionsBefore($params)
|
||||||
{
|
{
|
||||||
$this->_clearBlockcategoriesCache();
|
$this->_clearBlockcategoriesCache();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user