function tripal_contact_sync_form_submit

1.x contact_sync.inc tripal_contact_sync_form_submit($form, $form_state)

File

tripal_contact/includes/contact_sync.inc, line 25

Code

function tripal_contact_sync_form_submit($form, $form_state) {
  global $user; //needed to make the current users details available so access of user id is available
  $job_args = array();
  $job_id = tripal_add_job('Sync contacts', 'tripal_contact', 'tripal_contact_sync_contacts', $job_args, $user->uid);

}