You are here

function mimemail_disable in Mime Mail 7

Same name and namespace in other branches
  1. 6 mimemail.install \mimemail_disable()

Implements hook_disable().

File

./mimemail.install, line 26
Install, update and uninstall functions for Mime Mail module.

Code

function mimemail_disable() {
  mailsystem_clear(array(
    'mimemail' => 'MimeMailSystem',
  ));
  variable_set('mimemail_alter', FALSE);
}