summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-29 18:50:36 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-29 18:50:36 +0000
commit507ce04257a2799dd9d6cc8ba28ab26d22fe2343 (patch)
treedb28f1e50c942adcc8d7a302e72f0da9ce4a4c59
parent0df5b37ab74579ec39bb9c7442584e8144129724 (diff)
downloadbrdo-507ce04257a2799dd9d6cc8ba28ab26d22fe2343.tar.gz
brdo-507ce04257a2799dd9d6cc8ba28ab26d22fe2343.tar.bz2
- Patch #691468 by aaronbauman, gpk: improve PHPdoc of bootstrap_invoke_all().
-rw-r--r--includes/bootstrap.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 622914d65..6503d6db0 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -902,10 +902,12 @@ function drupal_page_is_cacheable($allow_caching = NULL) {
*
* @param $hook
* The name of the bootstrap hook to invoke.
+ *
+ * @see bootstrap_hooks()
*/
function bootstrap_invoke_all($hook) {
- // _drupal_bootstrap_page_cache() already loaded the bootstrap modules, so we
- // don't need to tell module_list() to reset its bootstrap list.
+ // Bootstrap modules should have been loaded when this function is called, so
+ // we don't need to tell module_list() to reset its bootstrap list.
foreach (module_list(FALSE, TRUE) as $module) {
drupal_load('module', $module);
module_invoke($module, $hook);