diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-26 23:46:40 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-26 23:46:40 +0100 |
commit | a661f043e1a8764cb7c795f50df77b830d3e352b (patch) | |
tree | 77a06311ffb5e59c86def06bbb618335da1f2b6a /core/templates | |
parent | 9be6050cc42c2760bd2276942a24ba3db288b551 (diff) | |
download | nextcloud-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')
-rw-r--r-- | core/templates/layout.base.php | 2 | ||||
-rw-r--r-- | core/templates/layout.guest.php | 2 | ||||
-rw-r--r-- | core/templates/layout.user.php | 2 | ||||
-rw-r--r-- | core/templates/login.php | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index 7c1fe79e79d..a5096b87b93 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -17,7 +17,7 @@ <?php print_unescaped($_['headers']); ?> </head> <body id="body-public"> - <?php include('layout.noscript.warning.php'); ?> + <?php include 'layout.noscript.warning.php'; ?> <?php print_unescaped($_['content']); ?> </body> </html> diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 4d06fc294d5..e208af3c507 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -19,7 +19,7 @@ <?php print_unescaped($_['headers']); ?> </head> <body id="<?php p($_['bodyid']);?>"> - <?php include('layout.noscript.warning.php'); ?> + <?php include 'layout.noscript.warning.php'; ?> <div class="wrapper"> <div class="v-align"> <?php if ($_['bodyid'] === 'body-login' ): ?> diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 32762e2c240..c6885f692d5 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -26,7 +26,7 @@ <?php print_unescaped($_['headers']); ?> </head> <body id="<?php p($_['bodyid']);?>"> - <?php include('layout.noscript.warning.php'); ?> + <?php include 'layout.noscript.warning.php'; ?> <div id="notification-container"> <div id="notification"></div> </div> 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> |