You are here

function faq_taxonomy_term_delete in Frequently Asked Questions 7

Same name and namespace in other branches
  1. 7.2 faq.module \faq_taxonomy_term_delete()

Implements hook_taxonomy_term_delete().

File

./faq.module, line 1611
The FAQ module allows users to create a FAQ page, with questions and answers displayed in different styles, according to the settings.

Code

function faq_taxonomy_term_delete($term) {
  if (module_exists('pathauto')) {
    module_load_include('inc', 'pathauto');
    pathauto_path_delete_all(_faq_path() . "/{$term->tid}");
  }
}