You are here

function data_taxonomy_taxonomy in Data 6

Implementation of hook_taxonomy().

File

data_taxonomy/data_taxonomy.module, line 108
Hooks and API functions for Data Node module.

Code

function data_taxonomy_taxonomy($op = NULL, $type = NULL, $term = NULL) {
  if ($type == 'term' && $term['tid'] && $op == 'delete') {
    db_query("DELETE FROM {data_taxonomy} WHERE tid = %d", $term['tid']);
  }
}