You are here

function lingotek_update_7406 in Lingotek Translation 7.6

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

Cleans up lingotek variables

File

./lingotek.install, line 637

Code

function lingotek_update_7406(&$sandbox) {
  $translate_fields = variable_get('lingotek_translate_fields');
  $enabled_fields = array(
    'node' => $translate_fields,
  );
  variable_set('lingotek_enabled_fields', $enabled_fields);
  variable_del('lingotek_translate_fields');
}