diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-03-04 13:51:40 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-03-12 07:48:19 +0000 |
commit | 1125f1767cceaa7b628dfb744283b72eddcb0539 (patch) | |
tree | 00be8cd5503125a8194ab98ab5383a2a4b488453 /apps/files_sharing/public.php | |
parent | b258e2f54190a29b82b1c114dddcd87ff781a045 (diff) | |
download | nextcloud-server-1125f1767cceaa7b628dfb744283b72eddcb0539.tar.gz nextcloud-server-1125f1767cceaa7b628dfb744283b72eddcb0539.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.php | 2 |
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); |