function uc_catalog_taxonomy_vocabulary_delete in Ubercart 7.3
Implements hook_taxonomy_vocabulary_delete().
File
- uc_catalog/
uc_catalog.module, line 180 - Ubercart Catalog module.
Code
function uc_catalog_taxonomy_vocabulary_delete($vocabulary) {
if ($vocabulary->vid == variable_get('uc_catalog_vid', 0)) {
variable_del('uc_catalog_vid');
}
}