- Patch #534594 by catch, Frando: add registry_rebuild() to update.php.

8.0.x
Dries Buytaert 2011-05-11 21:39:05 -04:00
parent f542aeec17
commit fa18bb3a0d
1 changed files with 4 additions and 0 deletions

View File

@ -375,6 +375,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();