From bc41e4054b12fb63a263068a5a5641ab6db67d8d Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 2 Oct 2010 02:56:19 +0000 Subject: #864464 by heyrocker, Beanjammin: Ensure people using Drupal < 6.16 that they must upgrade to latest version, rather than showing them a WSOD. --- update.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'update.php') 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'); -- cgit v1.2.3