You are here

function sms_actions_command_confirm_delete_submit in SMS Framework 6

Same name and namespace in other branches
  1. 6.2 modules/sms_actions/sms_actions.module \sms_actions_command_confirm_delete_submit()
  2. 7 modules/sms_actions/sms_actions.module \sms_actions_command_confirm_delete_submit()
1 call to sms_actions_command_confirm_delete_submit()
sms_actions_edit_command_form_submit in modules/sms_actions/sms_actions.module

File

modules/sms_actions/sms_actions.module, line 438
Provides a "Send SMS" action and the ability to define custom triggers for incoming messages.

Code

function sms_actions_command_confirm_delete_submit($form, &$form_state) {
  sms_actions_command_delete($form_state['values']['discriminator']);
  drupal_set_message(t('The command %command has been deleted.', array(
    '%command' => $form_state['values']['discriminator'],
  )));
  $form_state['redirect'] = 'admin/smsframework/actions';
}