function rules_scheduler_delete_task_submit
Submit handler for deleting single tasks.
File
-
rules_scheduler/
rules_scheduler.admin.inc, line 102
Code
function rules_scheduler_delete_task_submit($form, &$form_state) {
rules_scheduler_task_delete($form_state['task']['tid']);
drupal_set_message(t('Task %tid has been deleted.', array(
'%tid' => $form_state['task']['tid'],
)));
$form_state['redirect'] = RULES_SCHEDULER_PATH;
}