add possibility to enable/disable backup function

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-04-28 15:27:59 +02:00
parent 9bfd5eb17e
commit b1446d366e
8 changed files with 93 additions and 58 deletions

View File

@@ -186,6 +186,15 @@ return array(
)
),
),
'system_backupenabled' => array(
'label' => $lng['serversettings']['backupenabled'],
'settinggroup' => 'system',
'varname' => 'backupenabled',
'type' => 'bool',
'default' => false,
'cronmodule' => 'froxlor/backup',
'save_method' => 'storeSettingField'
),
),
),
);