You are here

function termcase_uninstall in Termcase 6

Same name and namespace in other branches
  1. 7 termcase.install \termcase_uninstall()

Implementation of hook_uninstall()

File

./termcase.install, line 18
Install and uninstall functions for the Termcase module.

Code

function termcase_uninstall() {
  $vocabularies = taxonomy_get_vocabularies();
  foreach ($vocabularies as $vid => $vocabulary) {
    variable_del('taxonomy_vocabulary' . $vid . '_termcase');
    variable_del('taxonomy_vocabulary' . $vid . '_termcase_synonyms');
  }
}