function simple_mail_disable in Simple Mail 7
Implements hook_disable().
File
- ./
simple_mail.install, line 20 - Installation file for Simple Mail module.
Code
function simple_mail_disable() {
$mail_system = variable_get('mail_system', array(
'default-system' => 'DefaultMailSystem',
));
unset($mail_system['simple_mail']);
variable_set('mail_system', $mail_system);
}