You are here

function lingotek_update_7209 in Lingotek Translation 7.3

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.4 lingotek.install \lingotek_update_7209()
  4. 7.5 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 356
Installation for Lingotek Community Translation Module.

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.');
}