You are here

function lingotek_update_7605 in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lingotek.install \lingotek_update_7605()

Remove unnecessary 'config' variable, created as a byproduct of the additional-translation form.

File

./lingotek.install, line 974

Code

function lingotek_update_7605(&$sandbox) {

  // Make sure this is not another module's variable.
  $config = variable_get('config', FALSE);
  if (isset($config['lingotek_translate_config_blocks'])) {
    variable_del('config');
  }
  return t("Removed unnecessary 'config' variable from the variables table.");
}