diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-10 16:38:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 16:38:23 +0200 |
commit | 1762a409f954fd9a66e7572704ea9ba7813601b4 (patch) | |
tree | 554d8f6bc93f397755d0a7c050041a9973e25396 /remote.php | |
parent | eba3726e1e1b7ce0a98df4552cfdecfe05e0d63a (diff) | |
parent | caff1023ea72bb2ea94130e18a2a6e2ccf819e5f (diff) | |
download | nextcloud-server-1762a409f954fd9a66e7572704ea9ba7813601b4.tar.gz nextcloud-server-1762a409f954fd9a66e7572704ea9ba7813601b4.zip |
Merge pull request #20422 from nextcloud/techdebt/format-control-structs-classes-methods
Format control structures, classes, methods and function
Diffstat (limited to 'remote.php')
-rw-r--r-- | remote.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/remote.php b/remote.php index 3e2398a0623..a81f7ba2c64 100644 --- a/remote.php +++ b/remote.php @@ -137,7 +137,7 @@ try { $file = resolveService($service); - if(is_null($file)) { + if (is_null($file)) { throw new RemoteException('Path not found', 404); } @@ -165,7 +165,6 @@ try { } $baseuri = OC::$WEBROOT . '/remote.php/'.$service.'/'; require_once $file; - } catch (Exception $ex) { handleException($ex); } catch (Error $e) { |