From d2f7ddd8b88bb3010cac6e2b82a3b858eb97c7d9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 29 Jul 2010 02:00:27 +0000 Subject: - Patch #822108 by jhodgdon, aaronbauman, justinrandell: rediscover bootstrap hook implementations during cache clear. --- includes/common.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 671e46c16..725b20b68 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(); } /** -- cgit v1.2.3