taxonomy_node_delete_revision

Versions
6
taxonomy_node_delete_revision($node)

Remove associations of a node to its terms.

Code

modules/taxonomy/taxonomy.module, line 716

<?php
function taxonomy_node_delete_revision($node) {
  db_query('DELETE FROM {term_node} WHERE vid = %d', $node->vid);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.