diff --git a/classes/PrestaShopBackup.php b/classes/PrestaShopBackup.php
index 485550964..adb0f4edd 100644
--- a/classes/PrestaShopBackup.php
+++ b/classes/PrestaShopBackup.php
@@ -189,7 +189,7 @@ class PrestaShopBackupCore
{
if (!$this->psBackupAll) {
$ignore_insert_table = array(_DB_PREFIX_.'connections', _DB_PREFIX_.'connections_page', _DB_PREFIX_
- .'connections_source', _DB_PREFIX_.'guest', _DB_PREFIX_.'statssearch');
+ .'connections_source', _DB_PREFIX_.'guest');
} else {
$ignore_insert_table = array();
}
diff --git a/controllers/admin/AdminBackupController.php b/controllers/admin/AdminBackupController.php
index 265cff280..53bba4575 100644
--- a/controllers/admin/AdminBackupController.php
+++ b/controllers/admin/AdminBackupController.php
@@ -61,7 +61,7 @@ class AdminBackupControllerCore extends AdminController
'title' => $this->l('Ignore statistics tables'),
'desc' => $this->l('Drop existing tables during import.').'
'._DB_PREFIX_.'connections, '._DB_PREFIX_.'connections_page, '._DB_PREFIX_
- .'connections_source, '._DB_PREFIX_.'guest, '._DB_PREFIX_.'statssearch',
+ .'connections_source, '._DB_PREFIX_.'guest',
'cast' => 'intval',
'type' => 'bool'
),
diff --git a/controllers/admin/AdminThemesController.php b/controllers/admin/AdminThemesController.php
index f78d7500f..958419176 100644
--- a/controllers/admin/AdminThemesController.php
+++ b/controllers/admin/AdminThemesController.php
@@ -2149,7 +2149,6 @@ class AdminThemesControllerCore extends AdminController
'statsproduct',
'statsregistrations',
'statssales',
- 'statssearch',
'statsstock',
'statsvisits',
'themeconfigurator',
diff --git a/modules/statssearch/CHANGELOG.txt b/modules/statssearch/CHANGELOG.txt
deleted file mode 100644
index 7679d8444..000000000
--- a/modules/statssearch/CHANGELOG.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-2014-03-27 17:21:33 +0100 / MO statssearch : min ps_versions_compliancy modified (1.5.6.1 => 1.6)
-2014-03-24 15:22:56 +0100 / MO statssearch : ps_versions_compliancy added
-2014-03-20 14:37:34 +0100 Initial commit
diff --git a/modules/statssearch/config.xml b/modules/statssearch/config.xml
deleted file mode 100644
index fc6197203..000000000
--- a/modules/statssearch/config.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
| '.$this->l('Keywords').' | -'.$this->l('Occurrences').' | -'.$this->l('Results').' | -
|---|---|---|
| '.$row['keywords'].' | -'.$row['occurences'].' | -'.$row['total'].' | -
'.$this->l('Cannot find any keywords that have been searched for more than once.').'
'; - - return $this->html; - } - - protected function getData($layers) - { - $this->_titles['main'] = $this->l('Top 10 keywords'); - $total_result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query.$this->getDate().$this->query_group_by); - $total = 0; - $total2 = 0; - foreach ($total_result as $total_row) - $total += $total_row['occurences']; - $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query.$this->getDate().$this->query_group_by.' LIMIT 9'); - foreach ($result as $row) - { - if (!$row['occurences']) - continue; - $this->_legend[] = $row['keywords']; - $this->_values[] = $row['occurences']; - $total2 += $row['occurences']; - } - if ($total > $total2) - { - $this->_legend[] = $this->l('Others'); - $this->_values[] = $total - $total2; - } - } -} diff --git a/modules/statssearch/translations/index.php b/modules/statssearch/translations/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/statssearch/translations/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; \ No newline at end of file