function amazon_ses_disable in Amazon SES 7.2
Same name and namespace in other branches
- 6 amazon_ses.install \amazon_ses_disable()
- 7 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);
}