From 201aebdd998a8812360237fdc99cb941973057e5 Mon Sep 17 00:00:00 2001 From: ggiunta Date: Wed, 19 Jan 2011 21:57:55 +0000 Subject: [PATCH] - remove a test for php versions lower than 5.0 git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@81 013ecfd8-0664-425d-a759-9c98391dc3f9 --- lib/xmlrpcs.inc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/xmlrpcs.inc b/lib/xmlrpcs.inc index 2fafdae..97035e4 100644 --- a/lib/xmlrpcs.inc +++ b/lib/xmlrpcs.inc @@ -588,15 +588,7 @@ if ($data === null) { // workaround for a known bug in php ver. 5.2.2 that broke $HTTP_RAW_POST_DATA - $ver = phpversion(); - if ($ver[0] >= 5) - { - $data = file_get_contents('php://input'); - } - else - { - $data = isset($GLOBALS['HTTP_RAW_POST_DATA']) ? $GLOBALS['HTTP_RAW_POST_DATA'] : ''; - } + $data = file_get_contents('php://input'); } $raw_data = $data; -- 2.43.0