You are here

function smtp_update_7000 in SMTP Authentication Support 7.2

Same name and namespace in other branches
  1. 7 smtp.install \smtp_update_7000()

Upgrade to Drupal 7.x

File

./smtp.install, line 123
The installation instructions for the SMTP Authentication Support.

Code

function smtp_update_7000() {
  if (variable_get('smtp_on', 0) != 0) {
    variable_set('mail_system', array(
      'default-system' => 'SmtpMailSystem',
    ));
  }

  // Not used any more in D7.
  variable_del('smtp_library');
}