diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-24 01:22:28 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-24 01:22:28 +0000 |
commit | cc88a199937bcd3001c95b4ce2772ec5cf236355 (patch) | |
tree | a48818dd2767e6207de96a67ed9a3ea6f3491bd5 /update.php | |
parent | a7149821d61d00cfb62d5ab67cbc2a282d53d41a (diff) | |
download | brdo-cc88a199937bcd3001c95b4ce2772ec5cf236355.tar.gz brdo-cc88a199937bcd3001c95b4ce2772ec5cf236355.tar.bz2 |
#612920 by catch: Added required table columns so that update.php doesn't spew fatal errors.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/update.php b/update.php index 18612a50a..89dc829f0 100644 --- a/update.php +++ b/update.php @@ -334,6 +334,16 @@ if (empty($op) && update_access_allowed()) { install_goto('update.php?op=info'); } +// update_fix_d7_requirements() needs to run before bootstrapping beyond path. +// So bootstrap to DRUPAL_BOOTSTRAP_LANGUAGE then include unicode.inc. + +drupal_bootstrap(DRUPAL_BOOTSTRAP_LANGUAGE); +include_once DRUPAL_ROOT . '/includes/unicode.inc'; + +update_fix_d7_requirements(); + +// Now proceed with a full bootstrap. + drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); drupal_maintenance_theme(); @@ -348,7 +358,6 @@ if (update_access_allowed()) { include_once DRUPAL_ROOT . '/includes/batch.inc'; drupal_load_updates(); - update_fix_d7_requirements(); update_fix_compatibility(); $op = isset($_REQUEST['op']) ? $_REQUEST['op'] : ''; |