function taxonomy_node_delete

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

Remove associations of a node to its terms.

1 call to taxonomy_node_delete()
taxonomy_nodeapi in drupal-6.x/modules/taxonomy/taxonomy.module
Implementation of hook_nodeapi().

File

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

Code

function taxonomy_node_delete($node) {
  db_query('DELETE FROM {term_node} WHERE nid = %d', $node->nid);
}