function taxonomy_node_delete

7.x taxonomy.module taxonomy_node_delete($node)
6.x taxonomy.module taxonomy_node_delete($node)

Implements hook_node_delete().

Related topics

File

drupal-7.x/modules/taxonomy/taxonomy.module, line 1987
Enables the organization of content into categories.

Code

function taxonomy_node_delete($node) {
  // Clean up the {taxonomy_index} table when nodes are deleted.
  taxonomy_delete_node_index($node);
}