summaryrefslogtreecommitdiffstats
path: root/settings/js/admin.js
diff options
context:
space:
mode:
authorVincent Chan <plus.vincchan@gmail.com>2016-02-01 18:14:10 +0100
committerVincent Chan <plus.vincchan@gmail.com>2016-02-01 18:57:58 +0100
commitfaf48e42b7a9bf208bd2e16baa0a9cc4c602dce3 (patch)
tree89c4bfa4e2bc5458847fe45b3741b10b0cf3f586 /settings/js/admin.js
parenta2e13aea1513de2667a70d224396ed641a5dd179 (diff)
downloadnextcloud-server-faf48e42b7a9bf208bd2e16baa0a9cc4c602dce3.tar.gz
nextcloud-server-faf48e42b7a9bf208bd2e16baa0a9cc4c602dce3.zip
Move data protection check to javascript
fixes #20199
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r--settings/js/admin.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 6660bfe9b48..90b1de68370 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -171,9 +171,10 @@ $(document).ready(function(){
OC.SetupChecks.checkWellKnownUrl('/.well-known/caldav/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === 'true'),
OC.SetupChecks.checkWellKnownUrl('/.well-known/carddav/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === 'true'),
OC.SetupChecks.checkSetup(),
- OC.SetupChecks.checkGeneric()
- ).then(function(check1, check2, check3, check4, check5) {
- var messages = [].concat(check1, check2, check3, check4, check5);
+ OC.SetupChecks.checkGeneric(),
+ OC.SetupChecks.checkDataProtected()
+ ).then(function(check1, check2, check3, check4, check5, check6) {
+ var messages = [].concat(check1, check2, check3, check4, check5, check6);
var $el = $('#postsetupchecks');
$el.find('.loading').addClass('hidden');