You are here

function comment_upload_comment_form_submit in Comment Upload 6

Additional submit handler for the comment form.

_state

Parameters

array $form:

File

./comment_upload.module, line 566
Provides file attachment functionality for comments.

Code

function comment_upload_comment_form_submit($form, &$form_state) {
  comment_upload_process_files($form, $form_state);
  unset($form_state['storage']);
}