]> source.dussan.org Git - nextcloud-server.git/commitdiff
Change const/let to var for PhantomJS 22004/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Fri, 7 Aug 2020 15:34:03 +0000 (17:34 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Fri, 7 Aug 2020 15:34:03 +0000 (17:34 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
core/js/setupchecks.js

index 62c9797d208ff3c3d9eada8638ea099e4240ff2c..a1f0d1aca571e497425d425ee217c5e48d3ccacf 100644 (file)
                },
 
                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') {