function biblio_disable in Bibliography Module 6
Same name and namespace in other branches
- 6.2 biblio.install \biblio_disable()
- 7 biblio.install \biblio_disable()
- 7.2 biblio.install \biblio_disable()
File
- ./
biblio.install, line 49 - Install file for biblio module
Code
function biblio_disable() {
if (module_exists('taxonomy')) {
$voc = taxonomy_get_vocabularies();
foreach ($voc as $vid => $vocabulary) {
if (isset($vocabulary->nodes['biblio'])) {
$vids[] = $vid;
}
}
variable_set('biblio_vocabularies', $vids);
}
}