You are here

function taxonomy_vocabulary_confirm_delete_submit in Drupal 5

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

File

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

Code

function taxonomy_vocabulary_confirm_delete_submit($form_id, $form_values) {
  $status = taxonomy_del_vocabulary($form_values['vid']);
  drupal_set_message(t('Deleted vocabulary %name.', array(
    '%name' => $form_values['name'],
  )));
  watchdog('taxonomy', t('Deleted vocabulary %name.', array(
    '%name' => $form_values['name'],
  )), WATCHDOG_NOTICE);
  return 'admin/content/taxonomy';
}