You are here

function hook_taxonomy_vocabulary_delete in Bibliography Module 7

Same name and namespace in other branches
  1. 7.2 biblio.module \hook_taxonomy_vocabulary_delete()

File

./biblio.module, line 2289
Bibliography Module for Drupal.

Code

function hook_taxonomy_vocabulary_delete($vocabulary) {
  if ($vocabulary->vid == variable_get('biblio_keyword_vocabulary', FALSE)) {
    variable_del('biblio_keyword_freetagging');
    variable_del('biblio_keyword_vocabulary');
  }
}