aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/login.php
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 /core/templates/login.php
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 'core/templates/login.php')
-rw-r--r--core/templates/login.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index 82594481d87..1d9b24901e7 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -10,7 +10,7 @@ script('core', 'merged-login');
<?php if (!empty($_['redirect_url'])) {
print_unescaped('<input type="hidden" name="redirect_url" value="' . \OCP\Util::sanitizeHTML($_['redirect_url']) . '">');
} ?>
- <?php if (isset($_['apacheauthfailed']) && ($_['apacheauthfailed'])): ?>
+ <?php if (isset($_['apacheauthfailed']) && $_['apacheauthfailed']): ?>
<div class="warning">
<?php p($l->t('Server side authentication failed!')); ?><br>
<small><?php p($l->t('Please contact your administrator.')); ?></small>
@@ -21,7 +21,7 @@ script('core', 'merged-login');
<?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>