Remove $id$ tag now that we are on git; update copyright notice to year 2013
[plcapi.git] / lib / xmlrpcs.inc
index 2fafdae..3fe530f 100644 (file)
@@ -1,7 +1,6 @@
 <?php\r
 // by Edd Dumbill (C) 1999-2002\r
 // <edd@usefulinc.com>\r
-// $Id: xmlrpcs.inc,v 1.71 2008/10/29 23:41:28 ggiunta Exp $\r
 \r
 // Copyright (c) 1999,2000,2002 Edd Dumbill.\r
 // All rights reserved.\r
                        if ($data === null)\r
                        {\r
                                // workaround for a known bug in php ver. 5.2.2 that broke $HTTP_RAW_POST_DATA\r
-                               $ver = phpversion();\r
-                               if ($ver[0] >= 5)\r
-                               {\r
-                                       $data = file_get_contents('php://input');\r
-                               }\r
-                               else\r
-                               {\r
-                                       $data = isset($GLOBALS['HTTP_RAW_POST_DATA']) ? $GLOBALS['HTTP_RAW_POST_DATA'] : '';\r
-                               }\r
+                $data = file_get_contents('php://input');\r
                        }\r
                        $raw_data = $data;\r
 \r