summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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.