function tripal_feature_delete_form_submit

2.x tripal_feature.delete.inc tripal_feature_delete_form_submit($form, &$form_state)
3.x tripal_feature.delete.inc tripal_feature_delete_form_submit($form, &$form_state)
1.x tripal_feature-delete.inc tripal_feature_delete_form_submit($form, &$form_state)

File

tripal_feature/includes/tripal_feature-delete.inc, line 97
@todo Add file header description

Code

function tripal_feature_delete_form_submit($form, &$form_state) {
  global $user;

  $organism_id = $form_state['values']['organism_id'];
  $seq_type = trim($form_state['values']['seq_type']);
  $analysis_id = $form_state['values']['analysis_id'];
  $is_unique = $form_state['values']['is_unique'];
  $feature_names = $form_state['values']['feature_names'];

  $args = array($organism_id, $analysis_id, $seq_type, $is_unique, $feature_names);

  tripal_add_job("Delete features", 'tripal_feature', 
  'tripal_feature_delete_features', $args, $user->uid);
}