From db8215e5ec9c118af7b29bb4528855b1251f45a4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 18 Jul 2008 07:30:34 +0000 Subject: - Patch #231190 by Dries: drupalHead repeated twice. Oops. --- modules/simpletest/drupal_web_test_case.php | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'modules') 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 @@ -906,23 +906,6 @@ class DrupalWebTestCase { return $out; } - /** - * 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 -- cgit v1.2.3