// removed cache for now

This commit is contained in:
djfm
2015-09-11 10:22:52 +02:00
parent 4a7db33427
commit 2776a38764
+7 -3
View File
@@ -90,8 +90,6 @@ class Blocktopmenu extends Module implements WidgetInterface
return false; return false;
} }
$this->clearMenuCache();
if ($delete_params) { if ($delete_params) {
if (!$this->installDb() || !Configuration::updateGlobalValue('MOD_BLOCKTOPMENU_ITEMS', 'CAT3,CAT26')) { if (!$this->installDb() || !Configuration::updateGlobalValue('MOD_BLOCKTOPMENU_ITEMS', 'CAT3,CAT26')) {
return false; return false;
@@ -929,7 +927,7 @@ class Blocktopmenu extends Module implements WidgetInterface
protected function clearMenuCache() protected function clearMenuCache()
{ {
$this->_clearCache('blocktopmenu.tpl');
} }
public function hookActionShopDataDuplication($params) public function hookActionShopDataDuplication($params)
@@ -1334,6 +1332,12 @@ class Blocktopmenu extends Module implements WidgetInterface
public function getWidgetVariables($hookName, array $configuration) public function getWidgetVariables($hookName, array $configuration)
{ {
// TODO: caching
/*
$id_lang = (int)$this->context->language->id;
$id_shop = (int)Shop::getContextShopID();
*/
return $this->makeMenu(); return $this->makeMenu();
} }