add possibility to disable web or traffic cron by setting the max-percentage value to 0, fixes #1639

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-07-14 07:58:56 +02:00
parent 83f40401be
commit 1c369e5503
5 changed files with 456 additions and 447 deletions

View File

@@ -145,7 +145,7 @@ return array(
'settinggroup' => 'system',
'varname' => 'report_webmax',
'type' => 'int',
'int_min' => 1,
'int_min' => 0,
'int_max' => 150,
'default' => 90,
'save_method' => 'storeSettingField',
@@ -155,7 +155,7 @@ return array(
'settinggroup' => 'system',
'varname' => 'report_trafficmax',
'type' => 'int',
'int_min' => 1,
'int_min' => 0,
'int_max' => 150,
'default' => 90,
'save_method' => 'storeSettingField',