mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ $(document).ready(function(){
|
|||
var mode = $(this).val();
|
||||
if (mode === 'ajax' || mode === 'webcron' || mode === 'cron') {
|
||||
OC.AppConfig.setValue('core', 'backgroundjobs_mode', mode);
|
||||
// clear cron errors on background job mode change
|
||||
OC.AppConfig.deleteKey('core', 'cronErrors');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue