Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
449f1f7c
Commit
449f1f7c
authored
Jul 07, 2010
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#845746
by Berdir: Fixed update process broken on multi-language sites using i18n module.
parent
47b8bec8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
includes/update.inc
includes/update.inc
+5
-0
modules/locale/locale.install
modules/locale/locale.install
+1
-1
No files found.
includes/update.inc
View file @
449f1f7c
...
...
@@ -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
);
}
...
...
modules/locale/locale.install
View file @
449f1f7c
...
...
@@ -106,7 +106,7 @@ function locale_update_7001() {
* Allow longer javascript file names.
*/
function
locale_update_7002
()
{
db_change_field
(
'languages'
,
'javascript'
,
'javascript'
,
array
(
'type'
=>
'varchar'
,
'length'
=>
64
,
'not null'
=>
TRUE
,
'default'
=>
''
));
// Update moved to update_fix_d7_requirements().
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment