function taxonomy_node_delete_revision in Drupal 6
Remove associations of a node to its terms.
2 calls to taxonomy_node_delete_revision()
- taxonomy_nodeapi in modules/
taxonomy/ taxonomy.module - Implementation of hook_nodeapi().
- taxonomy_node_save in modules/
taxonomy/ taxonomy.module - Save term associations for a given node.
File
- modules/
taxonomy/ taxonomy.module, line 743 - Enables the organization of content into categories.
Code
function taxonomy_node_delete_revision($node) {
db_query('DELETE FROM {term_node} WHERE vid = %d', $node->vid);
}