You are here

function notifications_scheduler_admin_send_form_submit in Notifications 7

Actually send notifications

1 string reference to 'notifications_scheduler_admin_send_form_submit'
notifications_scheduler_admin_send_form in notifications_scheduler/notifications_scheduler.admin.inc
Preview form to send notifications

File

notifications_scheduler/notifications_scheduler.admin.inc, line 129

Code

function notifications_scheduler_admin_send_form_submit($form, &$form_state) {
  $event = $form_state['values']['event'];
  $sids = $form_state['values']['sids'];
  $batch = _notifications_scheduler_create_batch($event, $sids);
  batch_set($batch);
}