// Code cleaning stats modules
This commit is contained in:
@@ -538,10 +538,7 @@ class InstallModelInstall extends InstallAbstractModel
|
|||||||
'dashtrends',
|
'dashtrends',
|
||||||
'dashgoals',
|
'dashgoals',
|
||||||
'dashproducts',
|
'dashproducts',
|
||||||
'graphartichow',
|
'graphnvd3',
|
||||||
'graphgooglechart',
|
|
||||||
'graphvisifire',
|
|
||||||
'graphxmlswfcharts',
|
|
||||||
'gridhtml',
|
'gridhtml',
|
||||||
'homefeatured',
|
'homefeatured',
|
||||||
'homeslider',
|
'homeslider',
|
||||||
|
|||||||
@@ -75,7 +75,8 @@ class StatsPersonalInfos extends ModuleGraph
|
|||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
</div>';
|
</div>';
|
||||||
if (count(Customer::getCustomers()))
|
$has_customers = (bool)Db::getInstance()->getValue('SELECT id_customer FROM '._DB_PREFIX_.'customer');
|
||||||
|
if ($has_customers)
|
||||||
{
|
{
|
||||||
if (Tools::getValue('export'))
|
if (Tools::getValue('export'))
|
||||||
if (Tools::getValue('exportType') == 'gender')
|
if (Tools::getValue('exportType') == 'gender')
|
||||||
|
|||||||
Reference in New Issue
Block a user