You are here

function revision_scheduler_edit_form_submit in Revision scheduler 7

File

./revision_scheduler.pages.inc, line 280

Code

function revision_scheduler_edit_form_submit($form, &$form_state) {
  form_state_values_clean($form_state);
  $operation = (object) $form_state['values'];
  revision_scheduler_operation_save($operation);
  drupal_set_message('The scheduled revision operation has been saved.');
}