You are here

function smtp_disable in SMTP Authentication Support 7

Same name and namespace in other branches
  1. 7.2 smtp.install \smtp_disable()

Implements hook_disable().

File

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

Code

function smtp_disable() {
  $mail_modes = variable_get('mail_system');
  $mail_modes['default-system'] = 'DefaultMailSystem';
  variable_set('mail_system', $mail_modes);
}