developer/globals.php
Disabled caling hook_boot() and hook_exit() during the update process (update.php) since the database is in a largely unknown state.
drupal_goto
<?php global $update_mode; ?>