From 64ad40d48ef0e8b2ab0c344eec81331fac080b75 Sun, 29 Jan 2012 19:26:47 +0100 From: hass Date: Sun, 29 Jan 2012 19:26:01 +0100 Subject: [PATCH] Remove D6 compatibilty sh** as logic breaks in D8 diff --git a/httprl.install b/httprl.install index 997cc30..0fef1b0 100644 --- a/httprl.install +++ b/httprl.install @@ -175,13 +175,7 @@ // Choose how to issue the HTTP request. if ($mode == 1) { // Execute the request using core. - $version = substr(VERSION, 0, 1); - if ($version == 6) { - drupal_http_request($url, $headers); - } - elseif ($version == 7) { - drupal_http_request($url, $options); - } + drupal_http_request($url, $options); } elseif ($mode == 2) { // Execute the request using httprl.