diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-08-07 17:34:03 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-08-07 17:34:03 +0200 |
commit | c1831f19025ba7b2919844c8fe5e5bef1c6c7ca6 (patch) | |
tree | 1da42c216fdbe40903998589b247278ad52bc174 /core | |
parent | 89c6a2bc1fa34498e82f7b9b6e8e7160c46dc3fd (diff) | |
download | nextcloud-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.js | 4 |
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') { |