diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-05-11 21:39:15 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-05-11 21:39:15 -0400 |
commit | 42ecd6577c6b5f1f354b64f583f157ddb3b3d935 (patch) | |
tree | bf8f653aa8171cec24679e50b9a4f753211cc7e3 /update.php | |
parent | fcf48f0c8c3cf37b6a397cf9dfa78e53831de8c3 (diff) | |
download | brdo-42ecd6577c6b5f1f354b64f583f157ddb3b3d935.tar.gz brdo-42ecd6577c6b5f1f354b64f583f157ddb3b3d935.tar.bz2 |
- Patch #534594 by catch, Frando: add registry_rebuild() to update.php.
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 785c50b9c..976e2faeb 100644 --- a/update.php +++ b/update.php @@ -384,6 +384,10 @@ if (empty($op) && update_access_allowed()) { // Set up theme system for the maintenance page. drupal_maintenance_theme(); + // Rebuild the registry to ensure that removed hooks in modules do not result + // in undefined function errors and that newly defined hooks are called. + registry_rebuild(); + // Check the update requirements for Drupal. update_check_requirements(); |