// removed cache for now
This commit is contained in:
+7
-3
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user