function lingotek_update_7209 in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lingotek.install \lingotek_update_7209()
- 7.2 lingotek.install \lingotek_update_7209()
- 7.3 lingotek.install \lingotek_update_7209()
- 7.4 lingotek.install \lingotek_update_7209()
- 7.5 lingotek.install \lingotek_update_7209()
Extend languages table to have lingotek_enabled field
File
- ./
lingotek.install, line 461
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.');
}