Commit 2b6e2c1a authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #1853050 by Jerenus: Fix up docs for drupal_send_headers()

parent adccec53
...@@ -1246,10 +1246,11 @@ function _drupal_set_preferred_header_name($name = NULL) { ...@@ -1246,10 +1246,11 @@ function _drupal_set_preferred_header_name($name = NULL) {
* Headers are set in drupal_add_http_header(). Default headers are not set * 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(). * if they have been replaced or unset using drupal_add_http_header().
* *
* @param $default_headers * @param array $default_headers
* An array of headers as name/value pairs. * (optional) An array of headers as name/value pairs.
* @param $single * @param bool $only_default
* If TRUE and headers have already be sent, send only the specified header. * (optional) If TRUE and headers have already been sent, send only the
* specified headers.
*/ */
function drupal_send_headers($default_headers = array(), $only_default = FALSE) { function drupal_send_headers($default_headers = array(), $only_default = FALSE) {
$headers_sent = &drupal_static(__FUNCTION__, FALSE); $headers_sent = &drupal_static(__FUNCTION__, FALSE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment