function taxonomy_node_delete_revision
6.x taxonomy.module | taxonomy_node_delete_revision($node) |
Remove associations of a node to its terms.
2 calls to taxonomy_node_delete_revision()
- taxonomy_nodeapi in drupal-6.x/
modules/ taxonomy/ taxonomy.module - Implementation of hook_nodeapi().
- taxonomy_node_save in drupal-6.x/
modules/ taxonomy/ taxonomy.module - Save term associations for a given node.
File
- drupal-6.x/
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);
}