You are here

function webform_webform_submission_update in Webform 7.4

Same name and namespace in other branches
  1. 7.3 webform.module \webform_webform_submission_update()

Implements hook_webform_submission_update().

File

./webform.module, line 1403
This module provides a simple way to create forms and questionnaires.

Code

function webform_webform_submission_update($node, $submission) {
  if (isset($submission->file_usage)) {
    webform_component_include('file');
    webform_file_usage_adjust($submission);
    webform_file_rename($node, $submission);
  }
}