You are here

function _taxonomy_title_delete in Taxonomy Title 6

Deletes the term title.

Parameters

$tid: The taxonomy term id of the term to delete.

1 call to _taxonomy_title_delete()
taxonomy_title_taxonomy in ./taxonomy_title.module
Implementation of hook_taxonomy().

File

./taxonomy_title.module, line 185
Enhanced control over the heading tag for the taxonomy term list pages.

Code

function _taxonomy_title_delete($tid) {
  db_query("DELETE FROM {taxonomy_title} WHERE tid = %d", $tid);

  // Add Suppot for i18nstrings.
  if (function_exists('i18nstrings_remove')) {
    i18nstrings_remove($name);
  }
}