You are here

function taxonomy_edge_taxonomy_term_delete in Taxonomy Edge 7

Same name and namespace in other branches
  1. 8 taxonomy_edge.module \taxonomy_edge_taxonomy_term_delete()
  2. 6 taxonomy_edge.module \taxonomy_edge_taxonomy_term_delete()
  3. 7.2 taxonomy_edge.module \taxonomy_edge_taxonomy_term_delete()

Implements hook_taxonomy_term_delete().

File

./taxonomy_edge.module, line 271
Optimization of taxonomy data model for SQL performance.

Code

function taxonomy_edge_taxonomy_term_delete($term) {
  if (taxonomy_edge_is_build_realtime($term->vid)) {
    return _taxonomy_edge_taxonomy_term_delete($term);
  }
  else {
    _taxonomy_edge_taxonomy_term_queue($term, 'delete');
  }
}