You are here

function webform_update_17 in Webform 6.2

Same name and namespace in other branches
  1. 5.2 webform.install \webform_update_17()

Set the submit interval to a real "unlimited" value instead of 5 years.

File

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

Code

function webform_update_17() {
  $ret = array();
  $ret[] = update_sql('UPDATE {webform} SET submit_interval = -1 WHERE submit_interval = 157784630');
  return $ret;
}