summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2010-07-29 02:00:27 (GMT)
committerDries Buytaert2010-07-29 02:00:27 (GMT)
commitd2f7ddd8b88bb3010cac6e2b82a3b858eb97c7d9 (patch)
treeeada6714db6364d942d3f7ea6feaef620e0f6111
parentb059eaeb704ce466e49e3dfbcc1bc74ed5097cb5 (diff)
- Patch #822108 by jhodgdon, aaronbauman, justinrandell: rediscover bootstrap hook implementations during cache clear.
-rw-r--r--includes/common.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 671e46c..725b20b 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -6277,6 +6277,11 @@ function drupal_flush_all_caches() {
foreach ($cache_tables as $table) {
cache_clear_all('*', $table, TRUE);
}
+
+ // Rebuild the bootstrap module list. We do this here so that developers
+ // can get new hook_boot() implementations registered without having to
+ // write a hook_update_N() function.
+ _system_update_bootstrap_status();
}
/**