function lineage_taxonomy in Taxonomy Lineage 5
Same name and namespace in other branches
- 6 lineage.module \lineage_taxonomy()
File
- ./
lineage.module, line 3
Code
function lineage_taxonomy($op, $type, $term = '') {
// we care not about vocabularies
if ($type == 'vocabulary') {
return;
}
switch ($op) {
case 'delete':
lineage_delete_term($term['tid']);
break;
case 'insert':
case 'update':
lineage_update_term($term);
break;
}
}