1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Issue #1962 - Ability to activate e_cron job automatically after plugin installation.

This commit is contained in:
Lóna Lore
2016-11-01 08:49:24 +01:00
parent dc6754d0e8
commit b060e79bea

View File

@@ -219,8 +219,8 @@ class cron_admin_ui extends e_admin_ui
'cron_category' => $val['category'], 'cron_category' => $val['category'],
'cron_description' => $val['description'], 'cron_description' => $val['description'],
'cron_function' => $class."::".$val['function'], 'cron_function' => $class."::".$val['function'],
'cron_tab' => '* * * * *', 'cron_tab' => varset($val['tab'], '* * * * *'),
'cron_active' => '0', 'cron_active' => varset($val['active'], '0'),
); );
$this->cronInsert($insert); $this->cronInsert($insert);