diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-21 10:52:09 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-21 10:52:09 +0200 |
commit | f5bbe727dfa624c8201f2973900390435234f323 (patch) | |
tree | 8f6849d156084a577dc87bf2be4859cdd10d4897 | |
parent | a930fe586419f4aa8088edbfa3dda6502d06363d (diff) | |
parent | e8c3eb74730171a0f997708d36cbcf9994cab217 (diff) | |
download | nextcloud-server-f5bbe727dfa624c8201f2973900390435234f323.tar.gz nextcloud-server-f5bbe727dfa624c8201f2973900390435234f323.zip |
Merge pull request #18456 from owncloud/fix-unrelated-cron-errors
Clear cron errors on change of background job mode
-rw-r--r-- | settings/js/admin.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index aa228e76be7..80d3dff2901 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -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'); } } }); |