Commit a37d9be1 authored by webchick's avatar webchick

#295697 by maartenvg and boombatower: Make SimpleTest fail to install if cURL is not present.

parent 8868a4dc
......@@ -117,13 +117,7 @@ function simpletest_requirements($phase) {
);
break;
case 'install':
if ($has_curl) {
$requirements['simpletest'] = array(
'title' => $t('cURL'),
'severity' => REQUIREMENT_OK,
);
}
else {
if (!$has_curl) {
$requirements['simpletest'] = array(
'title' => $t('cURL'),
'severity' => REQUIREMENT_ERROR,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment