summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-08-07 17:34:03 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2020-08-07 17:34:03 +0200
commitc1831f19025ba7b2919844c8fe5e5bef1c6c7ca6 (patch)
tree1da42c216fdbe40903998589b247278ad52bc174 /core
parent89c6a2bc1fa34498e82f7b9b6e8e7160c46dc3fd (diff)
downloadnextcloud-server-c1831f19025ba7b2919844c8fe5e5bef1c6c7ca6.tar.gz
nextcloud-server-c1831f19025ba7b2919844c8fe5e5bef1c6c7ca6.zip
Change const/let to var for PhantomJS
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'core')
-rw-r--r--core/js/setupchecks.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index 62c9797d208..a1f0d1aca57 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -509,9 +509,9 @@
},
addGenericSetupCheck: function(data, check, messages) {
- const setupCheck = data[check] || { pass: true, description: '', severity: 'info'}
+ var setupCheck = data[check] || { pass: true, description: '', severity: 'info'}
- let type = OC.SetupChecks.MESSAGE_TYPE_INFO
+ var type = OC.SetupChecks.MESSAGE_TYPE_INFO
if (setupCheck.severity === 'warning') {
type = OC.SetupChecks.MESSAGE_TYPE_WARNING
} else if (setupCheck.severity === 'error') {