diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-15 23:49:08 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-15 23:49:08 +0000 |
commit | cb3cde8be11bd1d54bdbb323b72919072f2cb930 (patch) | |
tree | c66f70ce6d49d3007499c8f2e48c5d9d0851c192 /includes/common.inc | |
parent | bb62eec3ceb19212dec2ad988f73cae32a5af23f (diff) | |
download | brdo-cb3cde8be11bd1d54bdbb323b72919072f2cb930.tar.gz brdo-cb3cde8be11bd1d54bdbb323b72919072f2cb930.tar.bz2 |
#372563 by cytefx: Rename drupal_set_html_head() to drupal_ADD_html_head() which actually describes what it does.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/common.inc b/includes/common.inc index f17256c67..9fe1ebe90 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -130,7 +130,7 @@ function drupal_get_rdf_namespaces() { * * This function can be called as long the headers aren't sent. */ -function drupal_set_html_head($data = NULL) { +function drupal_add_html_head($data = NULL) { static $stored_head = ''; if (!is_null($data)) { @@ -144,7 +144,7 @@ function drupal_set_html_head($data = NULL) { */ function drupal_get_html_head() { $output = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n"; - return $output . drupal_set_html_head(); + return $output . drupal_add_html_head(); } /** @@ -1972,7 +1972,7 @@ function base_path() { * This function can be called as long the HTML header hasn't been sent. */ function drupal_add_link($attributes) { - drupal_set_html_head('<link' . drupal_attributes($attributes) . " />\n"); + drupal_add_html_head('<link' . drupal_attributes($attributes) . " />\n"); } /** |