summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-09-18 10:40:28 +0000
committerDries Buytaert <dries@buytaert.net>2008-09-18 10:40:28 +0000
commita1674271167635dddbcee8313cc85c092586c402 (patch)
treec01ed1a77a0536ad8f1c15b618c3e64388abb0bb
parent14ff65379f490c9a8f844d143bc710b8115c49d9 (diff)
downloadbrdo-a1674271167635dddbcee8313cc85c092586c402.tar.gz
brdo-a1674271167635dddbcee8313cc85c092586c402.tar.bz2
- Patch #232931 by mikey_p, flobruit et al: clarified the PHPdoc of drupal_add_feed() and drupal_add_link().
-rw-r--r--includes/common.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc
index a13756512..bbd3b8f80 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -154,6 +154,8 @@ function drupal_get_headers() {
/**
* Add a feed URL for the current page.
*
+ * This function can be called as long the HTML header hasn't been sent.
+ *
* @param $url
* A url for the feed.
* @param $title
@@ -1635,6 +1637,8 @@ function base_path() {
/**
* Add a <link> tag to the page's HEAD.
+ *
+ * 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");