function lingotek_update_7406 in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lingotek.install \lingotek_update_7406()
- 7.4 lingotek.install \lingotek_update_7406()
- 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');
}