Commit 8b8c4202 authored by jhodgdon's avatar jhodgdon

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

parent 3b43ec47
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment