function mailgun_disable in Mailgun 7
Implements hook_disable().
File
- ./
mailgun.install, line 38 - Install, update and uninstall functions for the Mailgun module.
Code
function mailgun_disable() {
// Tell Mail System to remove Mailgun and restore to defaults.
mailsystem_clear(array(
'mailgun_test' => 'MailgunMailSystem',
));
watchdog('mailgun', 'Mailgun has been disabled.');
}