You are here

function amazon_ses_disable in Amazon SES 7

Same name and namespace in other branches
  1. 6 amazon_ses.install \amazon_ses_disable()
  2. 7.2 amazon_ses.install \amazon_ses_disable()

Implements hook_disable().

File

./amazon_ses.install, line 19
The installation file for amazon_mail_service module.

Code

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