You are here

function webform_update_6204 in Webform 6.2

Same name and namespace in other branches
  1. 6.3 webform.install \webform_update_6204()

Set all files to permanent status uploaded by Webform.

File

./webform.install, line 946
Webform module install/schema hooks.

Code

function webform_update_6204() {
  $ret = array();
  $ret[] = update_sql("UPDATE {files} SET status = 1 WHERE filepath LIKE '" . file_directory_path() . "/webform/%'");
  return $ret;
}