You are here

function webform_update_14 in Webform 6.2

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

Variable name changes.

File

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

Code

function webform_update_14() {
  $ret = array();
  variable_set('webform_default_from_address', variable_get('webform_default_from_email', variable_get('site_mail', ini_get('sendmail_from'))));
  variable_del('webform_default_from_email');
  if ('Form submission from: ' == variable_get('webform_default_subject', 'Form submission from: ')) {
    variable_set('webform_default_subject', 'Form submission from: %title');
  }
  return $ret;
}