Issue #1894382 by nick_schuch: fix misspelling of word indices in a few spots

8.0.x
Jennifer Hodgdon 2013-01-22 15:23:41 -08:00
parent 3b43ec4755
commit 8b8c4202df
2 changed files with 4 additions and 4 deletions

View File

@ -1540,8 +1540,8 @@ function system_update_8004() {
// internationalization, keep it, but standardize the specification.
// Otherwise, add the field.
if (db_field_exists('file_managed', 'langcode')) {
// According to the documentation of db_change_field(), indeces using the
// field should be dropped first; if the contrib module created any indeces,
// According to the documentation of db_change_field(), indices using the
// field should be dropped first; if the contrib module created any indices,
// it is its responsibility to drop them in an update function that runs
// before this one, which it can enforce via hook_update_dependencies().
db_change_field('file_managed', 'langcode', 'langcode', $langcode_field);

View File

@ -225,9 +225,9 @@ function taxonomy_update_8001() {
// internationalization, keep it, but standardize the specification.
// Otherwise, add the field.
if (db_field_exists($table, 'langcode')) {
// According to the documentation of db_change_field(), indeces using the
// According to the documentation of db_change_field(), indices using the
// field should be dropped first; if the contrib module created any
// indeces, it is its responsibility to drop them in an update function
// indices, it is its responsibility to drop them in an update function
// that runs before this one, which it can enforce via
// hook_update_dependencies().
db_change_field($table, 'langcode', 'langcode', $langcode_field);