You are here

function transliteration_update_7300 in Transliteration 7.3

Remove unnecessary Drupal 6 variables.

File

./transliteration.install, line 40
Install, update, and uninstall functions for the transliteration module.

Code

function transliteration_update_7300() {

  // Delete all the transliteration_filter_no_known_transliteration_* variables
  // and then clear the variable cache.
  db_delete('variable')
    ->condition('name', 'transliteration_filter_no_known_transliteration_%', 'like')
    ->execute();
  cache_clear_all('variables', 'cache');
}