diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-03-01 14:59:24 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-03-01 14:59:24 +0100 |
commit | 630becb95fe6e998d470c695c86b62a7d6915650 (patch) | |
tree | a9c09485d849d150e0da059172eb9b583fd10a60 /lib/util.php | |
parent | a86761e1e720af148da6cbc3fd641da6b57fab5b (diff) | |
download | nextcloud-server-630becb95fe6e998d470c695c86b62a7d6915650.tar.gz nextcloud-server-630becb95fe6e998d470c695c86b62a7d6915650.zip |
Style fixes
Diffstat (limited to 'lib/util.php')
-rwxr-xr-x | lib/util.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util.php b/lib/util.php index 2e32ee2e3c2..f21a7a746b3 100755 --- a/lib/util.php +++ b/lib/util.php @@ -466,11 +466,11 @@ class OC_Util { public static function isCallRegistered() { if(isset($_GET['requesttoken'])) { $token=$_GET['requesttoken']; - }elseif(isset($_POST['requesttoken'])) { + } elseif(isset($_POST['requesttoken'])) { $token=$_POST['requesttoken']; - }elseif(isset($_SERVER['HTTP_REQUESTTOKEN'])) { + } elseif(isset($_SERVER['HTTP_REQUESTTOKEN'])) { $token=$_SERVER['HTTP_REQUESTTOKEN']; - }else{ + } else { //no token found. return false; } |