Skip to content
Snippets Groups Projects
Commit 82062f93 authored by Alexander Hass's avatar Alexander Hass
Browse files

Issue #1306498 by hass, evolvingweb: Remove unnecessary

hook_requirements in linkchecker.install
parent f0546e18
No related branches found
No related tags found
No related merge requests found
......@@ -204,26 +204,8 @@ function linkchecker_requirements($phase) {
);
}
break;
case 'runtime':
// Module cannot work 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.'),
);
}
/* $requirements['linkchecker_curl'] = array(
'title' => $t('cURL'),
'value' => $has_curl ? $t('Enabled') : $t('Not found'),
'severity' => $has_curl ? REQUIREMENT_OK : REQUIREMENT_WARNING,
'description' => $t('You should install cURL for checking links with link checker module. If cURL is installed, simultaneuos link checks are used to speeds up the link checking process dramatically.'),
); */
break;
}
return $requirements;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment