You are here

function taxonomy_node_delete in Drupal 7

Same name and namespace in other branches
  1. 4 modules/taxonomy.module \taxonomy_node_delete()
  2. 5 modules/taxonomy/taxonomy.module \taxonomy_node_delete()
  3. 6 modules/taxonomy/taxonomy.module \taxonomy_node_delete()

Implements hook_node_delete().

Related topics

File

modules/taxonomy/taxonomy.module, line 2002
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);
}