function faq_taxonomy_term_delete in Frequently Asked Questions 7.2
Same name and namespace in other branches
- 7 faq.module \faq_taxonomy_term_delete()
Implements hook_taxonomy_term_delete().
File
- ./
faq.module, line 1434 - 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-page/{$term->tid}");
}
}