function smart_paging_taxonomy_term_delete in Smart Paging 7
Same name and namespace in other branches
- 7.2 smart_paging.module \smart_paging_taxonomy_term_delete()
Implements hook_taxonomy_term_delete().
File
- ./
smart_paging.module, line 440 - Provides smart paging capability to Drupal contents.
Code
function smart_paging_taxonomy_term_delete($term) {
db_delete('smart_paging')
->condition('entity_id', $term->tid)
->condition('entity_type', 'taxonomy_term')
->execute();
}