function mandrill_disable in Mandrill 7.2
Same name and namespace in other branches
- 6 mandrill.install \mandrill_disable()
- 7 mandrill.install \mandrill_disable()
Implements hook_disable().
File
- ./
mandrill.install, line 39 - Install, update and uninstall functions for the mandrill module.
Code
function mandrill_disable() {
// Tell mailsystem to remove mandrill and restore to defaults:
mailsystem_clear(array(
'mandrill_test' => 'MandrillMailSystem',
));
watchdog('mandrill', 'Mandrill has been disabled.');
}