diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-02 02:56:19 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-02 02:56:19 +0000 |
commit | bc41e4054b12fb63a263068a5a5641ab6db67d8d (patch) | |
tree | 447696f20dadd6771bd556fa11543155e0918827 /update.php | |
parent | 53302b2654eccbf0d6a6f75e7c92d17e907c440e (diff) | |
download | brdo-bc41e4054b12fb63a263068a5a5641ab6db67d8d.tar.gz brdo-bc41e4054b12fb63a263068a5a5641ab6db67d8d.tar.bz2 |
#864464 by heyrocker, Beanjammin: Ensure people using Drupal < 6.16 that they must upgrade to latest version, rather than showing them a WSOD.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/update.php b/update.php index a9bc48b8d..0ade03cc2 100644 --- a/update.php +++ b/update.php @@ -28,6 +28,16 @@ define('DRUPAL_ROOT', getcwd()); */ define('MAINTENANCE_MODE', 'update'); +/** + * Minimum schema version of Drupal 6 required for upgrade to Drupal 7. + * + * Upgrades from Drupal 6 to Drupal 7 require that Drupal 6 be running + * the most recent version, or the upgrade could fail. We can't easily + * check the Drupal 6 version once the update process has begun, so instead + * we check the schema version of system.module in the system table. + */ +define('REQUIRED_D6_SCHEMA_VERSION', '6055'); + function update_selection_page() { drupal_set_title('Drupal database update'); $elements = drupal_get_form('update_script_selection_form'); |