diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-09-27 11:08:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-09-27 11:08:45 +0000 |
commit | a8b3369b9597ba23af7c15f2a207651e134839ba (patch) | |
tree | aea86840a1044bdb4c2d82870f0b30e0603c5286 /update.php | |
parent | 319f5ef91bc07a2a2e1f34ee6dbaada4cad3ca80 (diff) | |
download | drupal-a8b3369b9597ba23af7c15f2a207651e134839ba.tar.gz drupal-a8b3369b9597ba23af7c15f2a207651e134839ba.zip |
- Patch #557542 by CorniI, catch, fago, Crell, sun | pwolanin, chx, webchick, mattyoung, alexanderpas, justinrandell, dropcube, moshe weitzman, Damien Tournoud, Rob Loach, Dries: cache module_implements() for better performance and scalability.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/update.php b/update.php index 2c8fbb14be1..20a9caf45c3 100644 --- a/update.php +++ b/update.php @@ -292,6 +292,10 @@ if (empty($op) && $update_access_allowed) { drupal_load('module', 'system'); drupal_load('module', 'filter'); + // Reset the module_implements() cache so that any new hook implementations + // in updated code are picked up. + module_implements('', FALSE, TRUE); + // Set up $language, since the installer components require it. drupal_language_initialize(); |