summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-26 23:46:40 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-26 23:46:40 +0100
commita661f043e1a8764cb7c795f50df77b830d3e352b (patch)
tree77a06311ffb5e59c86def06bbb618335da1f2b6a /apps/user_ldap/templates
parent9be6050cc42c2760bd2276942a24ba3db288b551 (diff)
downloadnextcloud-server-a661f043e1a8764cb7c795f50df77b830d3e352b.tar.gz
nextcloud-server-a661f043e1a8764cb7c795f50df77b830d3e352b.zip
Remove unneeded semicolon and parentheses
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/user_ldap/templates')
-rw-r--r--apps/user_ldap/templates/renewpassword.php2
-rw-r--r--apps/user_ldap/templates/settings.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/user_ldap/templates/renewpassword.php b/apps/user_ldap/templates/renewpassword.php
index 7b1df75e06b..9fc4271d6be 100644
--- a/apps/user_ldap/templates/renewpassword.php
+++ b/apps/user_ldap/templates/renewpassword.php
@@ -23,7 +23,7 @@ style('user_ldap', 'renewPassword');
<?php p($message); ?><br>
</div>
<?php endforeach; ?>
- <?php if (isset($_['internalexception']) && ($_['internalexception'])): ?>
+ <?php if (isset($_['internalexception']) && $_['internalexception']): ?>
<div class="warning">
<?php p($l->t('An internal error occurred.')); ?><br>
<small><?php p($l->t('Please try again or contact your administrator.')); ?></small>
diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php
index 42bbaaf78ca..1e1c85db247 100644
--- a/apps/user_ldap/templates/settings.php
+++ b/apps/user_ldap/templates/settings.php
@@ -71,10 +71,10 @@ style('user_ldap', 'settings');
print_unescaped('<p class="ldapwarning">'.$l->t('<b>Warning:</b> The PHP LDAP module is not installed, the backend will not work. Please ask your system administrator to install it.').'</p>');
}
?>
- <?php require_once(__DIR__ . '/part.wizard-server.php'); ?>
- <?php require_once(__DIR__ . '/part.wizard-userfilter.php'); ?>
- <?php require_once(__DIR__ . '/part.wizard-loginfilter.php'); ?>
- <?php require_once(__DIR__ . '/part.wizard-groupfilter.php'); ?>
+ <?php require_once __DIR__ . '/part.wizard-server.php'; ?>
+ <?php require_once __DIR__ . '/part.wizard-userfilter.php'; ?>
+ <?php require_once __DIR__ . '/part.wizard-loginfilter.php'; ?>
+ <?php require_once __DIR__ . '/part.wizard-groupfilter.php'; ?>
<fieldset id="ldapSettings-1">
<div id="ldapAdvancedAccordion">
<h3><?php p($l->t('Connection Settings'));?></h3>