From 2033c6aeb800efd438ca08b17453d59c9095c359 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Thu, 10 May 2012 09:44:48 +0000 Subject: [PATCH] [-] MO : fixed bug #PSCFV-2269 - reset cache module block categories --- modules/blockcategories/blockcategories.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/blockcategories/blockcategories.php b/modules/blockcategories/blockcategories.php index 978b9a315..814e49ed4 100644 --- a/modules/blockcategories/blockcategories.php +++ b/modules/blockcategories/blockcategories.php @@ -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(); }