function taxonomy_node_delete in Drupal 6
Same name and namespace in other branches
- 4 modules/taxonomy.module \taxonomy_node_delete()
- 5 modules/taxonomy/taxonomy.module \taxonomy_node_delete()
- 7 modules/taxonomy/taxonomy.module \taxonomy_node_delete()
Remove associations of a node to its terms.
1 call to taxonomy_node_delete()
- taxonomy_nodeapi in modules/
taxonomy/ taxonomy.module - Implementation of hook_nodeapi().
File
- 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);
}