You are here

function taxonomy_term_confirm_delete_submit in Drupal 5

Same name and namespace in other branches
  1. 4 modules/taxonomy.module \taxonomy_term_confirm_delete_submit()
  2. 6 modules/taxonomy/taxonomy.admin.inc \taxonomy_term_confirm_delete_submit()
  3. 7 modules/taxonomy/taxonomy.admin.inc \taxonomy_term_confirm_delete_submit()

File

modules/taxonomy/taxonomy.module, line 610
Enables the organization of content into categories.

Code

function taxonomy_term_confirm_delete_submit($form_id, $form_values) {
  taxonomy_del_term($form_values['tid']);
  drupal_set_message(t('Deleted term %name.', array(
    '%name' => $form_values['name'],
  )));
  watchdog('taxonomy', t('Deleted term %name.', array(
    '%name' => $form_values['name'],
  )), WATCHDOG_NOTICE);
  return 'admin/content/taxonomy';
}