diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-07-07 05:44:03 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-07-07 05:44:03 +0000 |
commit | 449f1f7cbd5399b1ad092378d1fcf80e91507cb0 (patch) | |
tree | bb78968dd339c8c089c0da0c3924533c20c08b22 /includes | |
parent | 47b8bec8e290a05af368d05deb7fb0cc98ef0292 (diff) | |
download | brdo-449f1f7cbd5399b1ad092378d1fcf80e91507cb0.tar.gz brdo-449f1f7cbd5399b1ad092378d1fcf80e91507cb0.tar.bz2 |
#845746 by Berdir: Fixed update process broken on multi-language sites using i18n module.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/update.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/update.inc b/includes/update.inc index 7db61191e..c3fde15b1 100644 --- a/includes/update.inc +++ b/includes/update.inc @@ -591,6 +591,11 @@ function update_fix_d7_requirements() { // Add new primary key. db_add_primary_key('sessions', array('sid', 'ssid')); + // Allow longer javascript file names. + if (db_table_exists('languages')) { + db_change_field('languages', 'javascript', 'javascript', array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => '')); + } + variable_set('update_d7_requirements', TRUE); } |