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:
commit
7701a5ac1b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user