taxonomy_node_delete_revision

6 taxonomy.module taxonomy_node_delete_revision($node)

Remove associations of a node to its terms.

2 calls to taxonomy_node_delete_revision()

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);
}
Login or register to post comments