You are here

function biblio_taxonomy in Bibliography Module 6.2

Same name and namespace in other branches
  1. 5 biblio.module \biblio_taxonomy()
  2. 6 biblio.module \biblio_taxonomy()

Implements hook_taxonomy().

File

./biblio.module, line 2317
Main file for Drupal module biblio.

Code

function biblio_taxonomy($op, $type, $array = NULL) {
  if ($op == 'delete' && $type == 'vocabulary' && $array['vid'] == variable_get('biblio_keyword_vocabulary', -1)) {
    variable_del('biblio_keyword_freetagging');
    variable_del('biblio_keyword_vocabulary');
  }
}