You are here

function lingotek_update_7209 in Lingotek Translation 7.5

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

Extend languages table to have lingotek_enabled field

File

./lingotek.install, line 432

Code

function lingotek_update_7209(&$sandbox) {
  spl_autoload_register('lingotek_auto_loader');
  lingotek_migration_1();

  // Add the lingotek_enabled field to the languages table. Remove lingotek_target_languages variable
  return t('Upgraded the languages table to have the lingotek_enabled field (if not already present) and removed lingotek_target_languages variable.');
}