summaryrefslogtreecommitdiffstats
path: root/lib/private/ocs.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-27 13:05:57 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-27 14:22:35 +0100
commit5c2fafa05faf532ab6e7ccde0ffadd8c984671fb (patch)
tree401efa60f8a0f558be1cb7ca0016b2a2b316e4f6 /lib/private/ocs.php
parent8abb80c64277524fadcbea875e2d559c339ef0b1 (diff)
downloadnextcloud-server-5c2fafa05faf532ab6e7ccde0ffadd8c984671fb.tar.gz
nextcloud-server-5c2fafa05faf532ab6e7ccde0ffadd8c984671fb.zip
Read from IRequest instead of reading twice
Potentially fixes https://github.com/owncloud/core/issues/14541 and https://github.com/owncloud/core/issues/14506
Diffstat (limited to 'lib/private/ocs.php')
-rw-r--r--lib/private/ocs.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/ocs.php b/lib/private/ocs.php
index bbe642a247d..d43811e339b 100644
--- a/lib/private/ocs.php
+++ b/lib/private/ocs.php
@@ -76,7 +76,6 @@ class OC_OCS {
$method='get';
}elseif($_SERVER['REQUEST_METHOD'] == 'PUT') {
$method='put';
- parse_str(file_get_contents("php://input"), $put_vars);
}elseif($_SERVER['REQUEST_METHOD'] == 'POST') {
$method='post';
}else{