From 507ce04257a2799dd9d6cc8ba28ab26d22fe2343 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 29 Jun 2010 18:50:36 +0000 Subject: - Patch #691468 by aaronbauman, gpk: improve PHPdoc of bootstrap_invoke_all(). --- includes/bootstrap.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'includes') 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); -- cgit v1.2.3