function student_files_little_upload_form_submit

6.x student_files.module student_files_little_upload_form_submit($form, $form_state)

File

modules/student_files/student_files.module, line 934
This is the student_files module, which will facilitate uploading (securely) files to be associated with student accounts.

Code

function student_files_little_upload_form_submit($form, $form_state) {

  $_POST ["access_type"] = $form_state ["values"]["access_type"];

  // Send it on along to be uploaded. 
  student_files_handle_upload($form_state ["values"]["student_id"], FALSE);

}