Remove tabs Search Engines and Referers from Stats tab
This commit is contained in:
@@ -60,6 +60,9 @@ class AdminReferrersControllerCore extends AdminController
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
// redirect to Dashboard for stats related to Referers
|
||||
Tools::redirectAdmin(Context::getContext()->link->getAdminLink('AdminDashboard'));
|
||||
|
||||
$this->bootstrap = true;
|
||||
$this->table = 'referrer';
|
||||
$this->className = 'Referrer';
|
||||
|
||||
@@ -31,6 +31,9 @@ class AdminSearchEnginesControllerCore extends AdminController
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
// redirect to Dashboard for stats related to Search Engines
|
||||
Tools::redirectAdmin(Context::getContext()->link->getAdminLink('AdminDashboard'));
|
||||
|
||||
$this->bootstrap = true;
|
||||
$this->table = 'search_engine';
|
||||
$this->className = 'SearchEngine';
|
||||
|
||||
@@ -285,12 +285,12 @@
|
||||
<tab id="Stats_1" id_parent="Stats" active="1" hide_host_mode="0">
|
||||
<class_name>AdminStats</class_name>
|
||||
</tab>
|
||||
<tab id="Search_Engines" id_parent="Stats" active="1" hide_host_mode="0">
|
||||
<!-- <tab id="Search_Engines" id_parent="Stats" active="1" hide_host_mode="0">
|
||||
<class_name>AdminSearchEngines</class_name>
|
||||
</tab>
|
||||
<tab id="Referrers" id_parent="Stats" active="1" hide_host_mode="0">
|
||||
</tab> -->
|
||||
<!-- <tab id="Referrers" id_parent="Stats" active="1" hide_host_mode="0">
|
||||
<class_name>AdminReferrers</class_name>
|
||||
</tab>
|
||||
</tab> -->
|
||||
<tab id="Warehouses" id_parent="Stock" active="1" hide_host_mode="0">
|
||||
<class_name>AdminWarehouses</class_name>
|
||||
</tab>
|
||||
|
||||
Reference in New Issue
Block a user