summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-16 23:24:36 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-16 23:24:36 +0000
commita37d9be1873457bbcbc881b7f5539036c4c5885b (patch)
tree8ac9f06d065bf6bb99bc4b039d09825a4cbf6f47
parent8868a4dc6a1b4451bbf8627b1de51f10218294c3 (diff)
downloadbrdo-a37d9be1873457bbcbc881b7f5539036c4c5885b.tar.gz
brdo-a37d9be1873457bbcbc881b7f5539036c4c5885b.tar.bz2
#295697 by maartenvg and boombatower: Make SimpleTest fail to install if cURL is not present.
-rw-r--r--modules/simpletest/simpletest.install8
1 files changed, 1 insertions, 7 deletions
diff --git a/modules/simpletest/simpletest.install b/modules/simpletest/simpletest.install
index 895e92c1d..c6d5c34c7 100644
--- a/modules/simpletest/simpletest.install
+++ b/modules/simpletest/simpletest.install
@@ -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,