diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-16 23:24:36 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-09-16 23:24:36 +0000 |
commit | a37d9be1873457bbcbc881b7f5539036c4c5885b (patch) | |
tree | 8ac9f06d065bf6bb99bc4b039d09825a4cbf6f47 | |
parent | 8868a4dc6a1b4451bbf8627b1de51f10218294c3 (diff) | |
download | brdo-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.install | 8 |
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, |