summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/public.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-03-04 13:51:40 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-03-11 09:27:20 +0100
commit6c968fe77db0ef96e16b103f47e318531f3d33be (patch)
tree9855ba64d7159a013a09ffb45bdeee49e051937a /apps/files_sharing/public.php
parent0f9fe74020d8b8b71ce03e0baf2f1e2b13cda5f9 (diff)
downloadnextcloud-server-6c968fe77db0ef96e16b103f47e318531f3d33be.tar.gz
nextcloud-server-6c968fe77db0ef96e16b103f47e318531f3d33be.zip
Fix import order and formatting
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r--apps/files_sharing/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index b72d3a9dd9a..1fcdf2fe505 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -27,7 +27,7 @@ $urlGenerator = \OC::$server->getURLGenerator();
$token = isset($_GET['t']) ? $_GET['t'] : '';
$route = isset($_GET['download']) ? 'files_sharing.sharecontroller.downloadShare' : 'files_sharing.sharecontroller.showShare';
-if($token !== '') {
+if ($token !== '') {
$protocol = \OC::$server->getRequest()->getHttpProtocol();
if ($protocol == 'HTTP/1.0') {
http_response_code(302);