diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-07-29 02:00:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-07-29 02:00:27 +0000 |
commit | d2f7ddd8b88bb3010cac6e2b82a3b858eb97c7d9 (patch) | |
tree | eada6714db6364d942d3f7ea6feaef620e0f6111 | |
parent | b059eaeb704ce466e49e3dfbcc1bc74ed5097cb5 (diff) | |
download | brdo-d2f7ddd8b88bb3010cac6e2b82a3b858eb97c7d9.tar.gz brdo-d2f7ddd8b88bb3010cac6e2b82a3b858eb97c7d9.tar.bz2 |
- Patch #822108 by jhodgdon, aaronbauman, justinrandell: rediscover bootstrap hook implementations during cache clear.
-rw-r--r-- | includes/common.inc | 5 |
1 files changed, 5 insertions, 0 deletions
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(); } /** |