//added default configuration value for dashactivity
This commit is contained in:
1 parent
52abf62ae1
commit
e7869f6b19
1 file changed
+3
-2
@@ -45,8 +45,9 @@ class Dashactivity extends Module
|
|||||||
|
|
||||||
public function install()
|
public function install()
|
||||||
{
|
{
|
||||||
foreach ($this->getConfigFieldsValues() as $conf_name => $conf)
|
Configuration::updateValue('DASHACTIVITY_CART_ACTIVE', 30);
|
||||||
Configuration::updateValue($conf_name, true);
|
Configuration::updateValue('DASHACTIVITY_CART_ABANDONED', 30);
|
||||||
|
Configuration::updateValue('DASHACTIVITY_VISITOR_ONLINE', 24);
|
||||||
|
|
||||||
if (!parent::install()
|
if (!parent::install()
|
||||||
|| !$this->registerHook('dashboardZoneOne')
|
|| !$this->registerHook('dashboardZoneOne')
|
||||||
|
|||||||
Reference in new issue
Block a user