summaryrefslogtreecommitdiff
path: root/modules/simpletest/drupal_web_test_case.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-05-03 07:18:06 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-05-03 07:18:06 +0000
commitc129cbf138f0f8dbbbd8b5e3dc49093a438eae5e (patch)
treef64771d6fee77f909512e08b900ac2c1d456b5f1 /modules/simpletest/drupal_web_test_case.php
parent878fb1e781380742f981c24fc1fcf7a4b9583024 (diff)
downloadbrdo-c129cbf138f0f8dbbbd8b5e3dc49093a438eae5e.tar.gz
brdo-c129cbf138f0f8dbbbd8b5e3dc49093a438eae5e.tar.bz2
#717872 by mr.baileys: Fixed reference to non-existing curlConnect in comments.
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r--modules/simpletest/drupal_web_test_case.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index fa44ae597..4765508cc 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -1359,15 +1359,20 @@ class DrupalWebTestCase extends DrupalTestCase {
}
/**
- * Performs a cURL exec with the specified options after calling curlConnect().
+ * Initializes and executes a cURL request.
*
* @param $curl_options
- * Custom cURL options.
+ * An associative array of cURL options to set, where the keys are constants
+ * defined by the cURL library. For a list of valid options, see
+ * http://www.php.net/manual/function.curl-setopt.php
* @param $redirect
- * FALSE if this is an initial request, TRUE if this request is the result of
- * a redirect.
+ * FALSE if this is an initial request, TRUE if this request is the result
+ * of a redirect.
+ *
* @return
- * Content returned from the exec.
+ * The content returned from the call to curl_exec().
+ *
+ * @see curlInitialize()
*/
protected function curlExec($curl_options, $redirect = FALSE) {
$this->curlInitialize();