summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2012-12-06 21:35:51 (GMT)
committer Jennifer Hodgdon2012-12-06 21:35:51 (GMT)
commit11fafe6db5dbda24eaa02ed1067a7ba733f6e896 (patch)
treeec9c43dc37ab89ced3ac4b88149a1ef37f15ecb4
parente02f84783747898aeb322be2d1e5f93438455bdb (diff)
Issue #1853050 by Jerenus: Fix up docs for drupal_send_headers()
-rw-r--r--includes/bootstrap.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 74853b2..549a937 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1186,10 +1186,11 @@ function _drupal_set_preferred_header_name($name = NULL) {
* Headers are set in drupal_add_http_header(). Default headers are not set
* if they have been replaced or unset using drupal_add_http_header().
*
- * @param $default_headers
- * An array of headers as name/value pairs.
- * @param $single
- * If TRUE and headers have already be sent, send only the specified header.
+ * @param array $default_headers
+ * (optional) An array of headers as name/value pairs.
+ * @param bool $only_default
+ * (optional) If TRUE and headers have already been sent, send only the
+ * specified headers.
*/
function drupal_send_headers($default_headers = array(), $only_default = FALSE) {
$headers_sent = &drupal_static(__FUNCTION__, FALSE);