function casetracker_case_state_confirm_delete_submit in Case Tracker 7
Same name and namespace in other branches
- 5 casetracker.module \casetracker_case_state_confirm_delete_submit()
- 6 casetracker_admin.inc \casetracker_case_state_confirm_delete_submit()
Ayup, the user definitely wants to delete this case state.
File
- ./
casetracker_admin.inc, line 261
Code
function casetracker_case_state_confirm_delete_submit($form, &$form_state) {
drupal_set_message(t('Deleted case state %name.', array(
'%name' => $form_state['values']['name'],
)));
casetracker_case_state_delete($form_state['values']['csid']);
$form_state['redirect'] = 'admin/config/casetracker/states';
}