function taxonomy_test_taxonomy_term_delete

Implements hook_taxonomy_term_delete().

File

drupal/modules/simpletest/tests/taxonomy_test.module, line 53
Test module for Taxonomy hooks and functions not used in core.

Code

function taxonomy_test_taxonomy_term_delete($term) {
  db_delete('taxonomy_term_antonym')
    ->condition('tid', $term->tid)
    ->execute();
}