Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Freitag <mail@franek.fr>2021-05-18 10:22:07 +0300
committerFrançois Freitag <mail@franek.fr>2021-05-18 10:24:05 +0300
commitd88785118337ae395eac03236a20d5979de77938 (patch)
tree334ab128254796d173fd193fcdaa066af311b2a6 /core/templates
parent83330b8c4ca27b094b4a262dde261a0b767b3f9c (diff)
Prefer string $file over 1-element array in script()
The string syntax is more obvious. There should be one (and preferably only one) way of doing things. Signed-off-by: François Freitag <mail@franek.fr>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/installation.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index b9ab19f0357..5bdf8b0cc96 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -1,7 +1,5 @@
<?php
-script('core', [
- 'dist/install'
-]);
+script('core', 'dist/install');
?>
<input type='hidden' id='hasMySQL' value='<?php p($_['hasMySQL']) ?>'>
<input type='hidden' id='hasSQLite' value='<?php p($_['hasSQLite']) ?>'>