summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/templates/renewpassword.php
diff options
context:
space:
mode:
authorFrançois Freitag <mail@franek.fr>2021-05-18 09:22:07 +0200
committerFrançois Freitag <mail@franek.fr>2021-05-18 09:24:05 +0200
commitd88785118337ae395eac03236a20d5979de77938 (patch)
tree334ab128254796d173fd193fcdaa066af311b2a6 /apps/user_ldap/templates/renewpassword.php
parent83330b8c4ca27b094b4a262dde261a0b767b3f9c (diff)
downloadnextcloud-server-d88785118337ae395eac03236a20d5979de77938.tar.gz
nextcloud-server-d88785118337ae395eac03236a20d5979de77938.zip
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 'apps/user_ldap/templates/renewpassword.php')
-rw-r--r--apps/user_ldap/templates/renewpassword.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/user_ldap/templates/renewpassword.php b/apps/user_ldap/templates/renewpassword.php
index dca7a459c83..752327ce872 100644
--- a/apps/user_ldap/templates/renewpassword.php
+++ b/apps/user_ldap/templates/renewpassword.php
@@ -1,8 +1,6 @@
<?php /** @var \OCP\IL10N $l */ ?>
<?php
-script('user_ldap', [
- 'renewPassword',
-]);
+script('user_ldap', 'renewPassword');
style('user_ldap', 'renewPassword');
?>