You are here

function casetracker_case_state_confirm_delete_submit in Case Tracker 5

Same name and namespace in other branches
  1. 6 casetracker_admin.inc \casetracker_case_state_confirm_delete_submit()
  2. 7 casetracker_admin.inc \casetracker_case_state_confirm_delete_submit()

Ayup, the user definitely wants to delete this case state.

File

./casetracker.module, line 689
Enables the handling of projects and their cases.

Code

function casetracker_case_state_confirm_delete_submit($form_id, $form_values) {
  drupal_set_message(t('Deleted case state %name.', array(
    '%name' => $form_values['name'],
  )));
  casetracker_case_state_delete($form_values['csid']);
  return 'admin/content/casetracker';
}