summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update.php4
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();