function mandrill_disable in Mandrill 6
Same name and namespace in other branches
- 7.2 mandrill.install \mandrill_disable()
- 7 mandrill.install \mandrill_disable()
Implements hook_disable().
File
- ./
mandrill.install, line 19
Code
function mandrill_disable() {
// reset to default mail system
// TODO: if the 'mandrill' module is enabled, but not marked as the current smtp_library - this could cause problems
variable_del('smtp_library');
watchdog('mandrill', 'Mandrill has been disabled.');
}