You are here

function amazon_ses_disable in Amazon SES 6

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

Implementation of hook_disable().

File

./amazon_ses.install, line 32
The installation instructions for Amazon SES.

Code

function amazon_ses_disable() {
  variable_set('mail_system', array(
    'default-system' => 'DefaultMailSystem',
  ));
  variable_set('amazon_ses_on', 0);
  variable_del('smtp_library');
}