You are here

function lingotek_update_7210 in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lingotek.install \lingotek_update_7210()
  2. 7.2 lingotek.install \lingotek_update_7210()
  3. 7.3 lingotek.install \lingotek_update_7210()
  4. 7.4 lingotek.install \lingotek_update_7210()
  5. 7.6 lingotek.install \lingotek_update_7210()

Extend languages table to have lingotek_locale field

File

./lingotek.install, line 441

Code

function lingotek_update_7210(&$sandbox) {
  spl_autoload_register('lingotek_auto_loader');
  lingotek_migration_2();

  // Add the lingotek_locale field to the languages table
  lingotek_add_missing_locales();

  // Fill-in the lingotek_locale column based on drupal code
  return t('Upgraded the languages table to have the lingotek_locale field (if not already present) and filled-in any missing lingotek_locale values.');
}