From bf4a695b180a41342025069a0c2e23dfad2a8321 Mon Sep 17 00:00:00 2001
From: Adam Bramley <adam@catalyst.net.nz>
Date: Thu, 29 Sep 2011 14:58:00 +1300
Subject: [PATCH] Fixes http://drupal.org/node/1271780

---
 piwik.install |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/piwik.install b/piwik.install
index 0af6633..257db00 100644
--- a/piwik.install
+++ b/piwik.install
@@ -65,16 +65,6 @@ function piwik_requirements($phase) {
 
   switch ($phase) {
     case 'runtime' :
-      // Module cannot validate piwik URL without external HTTP requests.
-      if (variable_get('drupal_http_request_fails', TRUE) && !system_check_http_request()) {
-        $requirements['http requests'] = array(
-          'title' => $t('HTTP request status'),
-          'value' => $t('Fails'),
-          'severity' => REQUIREMENT_ERROR,
-          'description' => $t('Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services.'),
-        );
-      }
-
       // Raise warning if Piwik user account has not been set yet.
       if (!preg_match('/^\d{1,}$/', variable_get('piwik_site_id', ''))) {
         $requirements['piwik'] = array(
-- 
1.7.1

