From 42ecd6577c6b5f1f354b64f583f157ddb3b3d935 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 11 May 2011 21:39:15 -0400 Subject: - Patch #534594 by catch, Frando: add registry_rebuild() to update.php. --- update.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'update.php') 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(); -- cgit v1.2.3