summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bootstrap.inc')
-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);