taxonomy_taxonomy_term_delete

Versions
7
taxonomy_taxonomy_term_delete($term)

Implements hook_taxonomy_term_delete().

Related topics

Code

modules/taxonomy/taxonomy.module, line 1458

<?php
function taxonomy_taxonomy_term_delete($term) {
  if (variable_get('taxonomy_maintain_index_table', TRUE)) {
    // Clean up the {taxonomy_index} table when terms are deleted.
    db_delete('taxonomy_index')->condition('tid', $term->tid)->execute();
  }
}
?>
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.