function forum_taxonomy_term_delete
forum_taxonomy_term_delete($term)
Implements hook_taxonomy_term_delete().
File
- modules/forum/forum.module, line 476
- Provides discussion forums.
Code
function forum_taxonomy_term_delete($term) { // For containers, remove the tid from the forum_containers variable. $containers = variable_get('forum_containers', array()); $key = array_search($term->tid, $containers); if ($key !== FALSE) { unset($containers[$key]); } variable_set('forum_containers', $containers); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!forum!forum.module/function/forum_taxonomy_term_delete/7.x