Merge pull request #18456 from owncloud/fix-unrelated-cron-errors
Clear cron errors on change of background job mode
This commit is contained in:
commit
f5bbe727df
|
@ -46,6 +46,8 @@ $(document).ready(function(){
|
||||||
var mode = $(this).val();
|
var mode = $(this).val();
|
||||||
if (mode === 'ajax' || mode === 'webcron' || mode === 'cron') {
|
if (mode === 'ajax' || mode === 'webcron' || mode === 'cron') {
|
||||||
OC.AppConfig.setValue('core', 'backgroundjobs_mode', mode);
|
OC.AppConfig.setValue('core', 'backgroundjobs_mode', mode);
|
||||||
|
// clear cron errors on background job mode change
|
||||||
|
OC.AppConfig.deleteKey('core', 'cronErrors');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue