You are here

function termstatus_term_delete in Taxonomy Term Status 7

Remove the status record of a term.

1 call to termstatus_term_delete()
termstatus_taxonomy_term_delete in ./termstatus.module
Implements hook_taxonomy_term_delete().

File

./termstatus.module, line 303
Hook implementations and API for the taxonomy term status module.

Code

function termstatus_term_delete($tid) {
  db_delete('termstatus')
    ->condition('tid', $tid)
    ->execute();
}