diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-06-09 11:20:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-06-09 11:20:16 +0000 |
commit | d89758d05ad61f972e11492eff5b7bba7706db77 (patch) | |
tree | 8f7ef4cda383e4b46a1ab2a251ce3a6594507aa5 | |
parent | 8f2c63ea25db51f2fc80bd5b7cbc2e5ff6acf823 (diff) | |
download | brdo-d89758d05ad61f972e11492eff5b7bba7706db77.tar.gz brdo-d89758d05ad61f972e11492eff5b7bba7706db77.tar.bz2 |
- Patch #486090 by catch: fixed upgrade path from Drupal 6 to Drupal 7.
-rw-r--r-- | modules/system/system.install | 2 | ||||
-rw-r--r-- | update.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 92adc499b..ae708d49e 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3422,7 +3422,7 @@ function system_update_7021() { variable_del('site_footer'); // Rebuild theme data, so the new 'help' region is identified. - system_theme_data(); + system_get_theme_data(); return $ret; } diff --git a/update.php b/update.php index 9facd3f51..ac664d49e 100644 --- a/update.php +++ b/update.php @@ -653,7 +653,9 @@ function update_fix_d7_requirements() { variable_set('update_d7_requirements', TRUE); // Add column for locale context. - db_add_field($ret, 'locales_source', 'context', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '', 'description' => 'The context this string applies to.')); + if (db_table_exists('locales_source')) { + db_add_field($ret, 'locales_source', 'context', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '', 'description' => 'The context this string applies to.')); + } } return $ret; |