You are here

function biblio_taxonomy in Bibliography Module 5

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

File

./biblio.module, line 3628

Code

function biblio_taxonomy($op, $type, $array = NULL) {
  if ($op == 'delete' && $term['vid'] == variable_get('biblio_freetagging_vocab', 0)) {
    switch ($type) {
      case 'term':
        break;
      case 'vocabulary':
        variable_del('biblio_keyword_freetagging');
        variable_del('biblio_freetagging_vocab');
        break;
    }
  }
}