diff --git a/modules/statsbestcategories/statsbestcategories.php b/modules/statsbestcategories/statsbestcategories.php index 1b6feb710..f776d314d 100644 --- a/modules/statsbestcategories/statsbestcategories.php +++ b/modules/statsbestcategories/statsbestcategories.php @@ -130,10 +130,6 @@ class StatsBestCategories extends ModuleGrid
'.$this->displayName.'
'; - if (!(Module::isEnabled('statsdata') && Configuration::get('PS_STATSDATA_PAGESVIEWS'))) { - $link = $this->context->link->getAdminLink('AdminModules').'&configure=statsdata'; - $this->html .= '
'.$this->l('You must enable the "Save global page views" option from ').'Data mining for statistics'.$this->l(' module in order to display the most viewed hotels, or use the QloApps Google Analytics module.').'
'; - } $this->html .= $this->engine($engine_params).'
diff --git a/modules/statsbestproducts/statsbestproducts.php b/modules/statsbestproducts/statsbestproducts.php index fbfff36f1..788dd72b9 100644 --- a/modules/statsbestproducts/statsbestproducts.php +++ b/modules/statsbestproducts/statsbestproducts.php @@ -136,10 +136,7 @@ class StatsBestProducts extends ModuleGrid } $html = '
'.$this->displayName.'
'; - if (!(Module::isEnabled('statsdata') && Configuration::get('PS_STATSDATA_PAGESVIEWS'))) { - $link = $this->context->link->getAdminLink('AdminModules').'&configure=statsdata'; - $html .= '
'.$this->l('You must enable the "Save global page views" option from ').'Data mining for statistics'.$this->l(' module in order to display the most viewed room types, or use the QloApps Google Analytics module.').'
'; - } + $html .= $this->engine($engine_params).' '.$this->l('CSV Export').'