summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-12-06 13:35:51 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-12-06 13:35:51 -0800
commit11fafe6db5dbda24eaa02ed1067a7ba733f6e896 (patch)
treeec9c43dc37ab89ced3ac4b88149a1ef37f15ecb4
parente02f84783747898aeb322be2d1e5f93438455bdb (diff)
downloadbrdo-11fafe6db5dbda24eaa02ed1067a7ba733f6e896.tar.gz
brdo-11fafe6db5dbda24eaa02ed1067a7ba733f6e896.tar.bz2
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 74853b2cf..549a937b5 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);