summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-07-18 07:30:34 +0000
committerDries Buytaert <dries@buytaert.net>2008-07-18 07:30:34 +0000
commitdb8215e5ec9c118af7b29bb4528855b1251f45a4 (patch)
treeea73abdd5a86910b3493dce2f9bd0463cea1fbde /modules/simpletest
parent66d6743924a2c0d0f54a33737754841708ca0764 (diff)
downloadbrdo-db8215e5ec9c118af7b29bb4528855b1251f45a4.tar.gz
brdo-db8215e5ec9c118af7b29bb4528855b1251f45a4.tar.bz2
- Patch #231190 by Dries: drupalHead repeated twice. Oops.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/drupal_web_test_case.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 709759678..2c3016369 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -907,23 +907,6 @@ class DrupalWebTestCase {
}
/**
- * Retrieves only the headers for a Drupal path or an absolute path.
- *
- * @param $path
- * Drupal path or url to load into internal browser
- * @param $options
- * Options to be forwarded to url().
- * @return
- * The retrieved headers, also available as $this->drupalGetContent()
- */
- function drupalHead($path, $options = array()) {
- $options['absolute'] = TRUE;
- $out = $this->curlExec(array(CURLOPT_HEADER => TRUE, CURLOPT_NOBODY => TRUE, CURLOPT_URL => url($path, $options)));
- $this->refreshVariables(); // Ensure that any changes to variables in the other thread are picked up.
- return $out;
- }
-
- /**
* Handle form input related to drupalPost(). Ensure that the specified fields
* exist and attempt to create POST data in the correct manner for the particular
* field type.