function webform_update_6204 in Webform 6.3
Same name and namespace in other branches
- 6.2 webform.install \webform_update_6204()
Set all files to permanent status uploaded by Webform.
File
- ./
webform.install, line 643 - 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;
}