You are here

function lingotek_update_7501 in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lingotek.install \lingotek_update_7501()
  2. 7.5 lingotek.install \lingotek_update_7501()

Updates 'lingotek_account_plan_type' to be 'advanced' when 'enterprise'

File

./lingotek.install, line 687

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