You are here

function termcase_uninstall in Termcase 7

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

Implements hook_uninstall().

File

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

Code

function termcase_uninstall() {
  module_load_include('module', 'termcase');
  $vocabularies = taxonomy_get_vocabularies();
  foreach ($vocabularies as $vid => $vocabulary) {
    _termcase_vocabulary_termcase_delete($vocabulary->machine_name);
  }
}