1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-19 20:21:51 +02:00

Merge pull request #1981 from lonalore/cron

Fixes #1962 - Ability to activate e_cron job automatically after plug…
This commit is contained in:
Cameron 2016-11-01 17:56:46 -07:00 committed by GitHub
commit 7701a5ac1b

View File

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