function taxonomy_node_delete

Same name and namespace in other branches
  1. 7.x drupal-7.x/modules/taxonomy/taxonomy.module \taxonomy_node_delete()

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().

Archivo

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

Código

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