diff options
Diffstat (limited to 'includes/update.inc')
-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); } |