From 8b184d99110d19893d69f018d3fbb64c0e25d23a Mon Sep 17 00:00:00 2001 From: thefosk Date: Tue, 14 Jan 2014 10:29:17 -0800 Subject: [PATCH] comments deleted --- lib/Unirest/Unirest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/Unirest/Unirest.php b/lib/Unirest/Unirest.php index ef3fbf2..f9e2e09 100644 --- a/lib/Unirest/Unirest.php +++ b/lib/Unirest/Unirest.php @@ -182,11 +182,6 @@ } Unirest::http_build_query_for_curl($body, $postBody); $url .= http_build_query($postBody); - - //foreach ($body as $parameter => $val) { - // $url .= $parameter . "=" . $val . "&"; - //} - //$url = substr($url, 0, strlen($url) - 1); } curl_setopt ($ch, CURLOPT_URL, Unirest::encodeUrl($url));