summaryrefslogtreecommitdiffstats
path: root/lib/api.php
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2013-03-05 00:25:56 +0000
committerTom Needham <tom@owncloud.com>2013-03-05 00:25:56 +0000
commit370f202251df2425ec49c78265859a804a88433f (patch)
tree75fa9d4d8694032dcb6e0987bc97ef379691e546 /lib/api.php
parentf141f8b523f71351841f64ab1e4782b4535ca1b7 (diff)
parentef70978524ad0f00c3e5f03a489753547afee45a (diff)
downloadnextcloud-server-370f202251df2425ec49c78265859a804a88433f.tar.gz
nextcloud-server-370f202251df2425ec49c78265859a804a88433f.zip
Rebase to current master
Diffstat (limited to 'lib/api.php')
-rw-r--r--lib/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api.php b/lib/api.php
index 5f2e83c9ce9..8d6bbb7cc09 100644
--- a/lib/api.php
+++ b/lib/api.php
@@ -81,7 +81,7 @@ class OC_API {
// Prepare the request variables
if($_SERVER['REQUEST_METHOD'] == 'PUT') {
parse_str(file_get_contents("php://input"), $parameters['_put']);
- } else if($_SERVER['REQUEST_METHOD'] == 'DELETE'){
+ } else if($_SERVER['REQUEST_METHOD'] == 'DELETE') {
parse_str(file_get_contents("php://input"), $parameters['_delete']);
}
$name = $parameters['_route'];