function webform_update_17 in Webform 5.2
Same name and namespace in other branches
- 6.2 webform.install \webform_update_17()
Set the submit interval to a real "unlimited" value instead of 5 years.
File
- ./
webform.install, line 567
Code
function webform_update_17() {
$ret = array();
$ret[] = update_sql('UPDATE {webform} SET submit_interval = -1 WHERE submit_interval = 157784630');
return $ret;
}