summaryrefslogtreecommitdiffstats
path: root/lib/private/ocs.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-03 14:22:56 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-03-03 14:22:56 +0100
commitbe27188649c25190aca19e1a4b3dbb58eef129f8 (patch)
treed93cbb6835860777cfc3f0b8f670d61465674b66 /lib/private/ocs.php
parente30ca8198f4535cdb9f14feb335b68d363aec426 (diff)
parentfaddd1e2565d01aa55ca23ee809170eb0a2cba98 (diff)
downloadnextcloud-server-be27188649c25190aca19e1a4b3dbb58eef129f8.tar.gz
nextcloud-server-be27188649c25190aca19e1a4b3dbb58eef129f8.zip
Merge pull request #14574 from owncloud/fix-irequest-for-older-php-versions
Read from IRequest instead of reading twice
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{