You are here

function transliteration_uninstall in Transliteration 6.3

Same name and namespace in other branches
  1. 5.2 transliteration.install \transliteration_uninstall()
  2. 6.2 transliteration.install \transliteration_uninstall()
  3. 7.3 transliteration.install \transliteration_uninstall()

Implementation of hook_uninstall().

File

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

Code

function transliteration_uninstall() {
  variable_del('transliteration_file_uploads');
  variable_del('transliteration_file_lowercase');
  variable_del('transliteration_search');

  // Delete all the transliteration_filter_no_known_transliteration_* variables
  // and then clear the variable cache.
  db_query("DELETE FROM {variable} WHERE name LIKE 'transliteration_filter_no_known_transliteration_%'");
  cache_clear_all('variables', 'cache');
}