function lingotek_update_7501 in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.5 lingotek.install \lingotek_update_7501()
- 7.6 lingotek.install \lingotek_update_7501()
Updates 'lingotek_account_plan_type' to be 'advanced' when 'enterprise'
File
- ./
lingotek.install, line 699
Code
function lingotek_update_7501(&$sandbox) {
lingotek_extend_metadata_tables();
$current_plan_type = variable_get('lingotek_account_plan_type');
if ($current_plan_type == 'enterprise') {
variable_set('lingotek_account_plan_type', 'advanced');
}
}