You are here

function htmlmail_disable in HTML Mail 6.2

Same name and namespace in other branches
  1. 8.2 htmlmail.install \htmlmail_disable()
  2. 7.2 htmlmail.install \htmlmail_disable()
  3. 7 htmlmail.install \htmlmail_disable()

Implements hook_disable().

File

./htmlmail.install, line 121
Installation for HTML Mail module.

Code

function htmlmail_disable() {

  // Check is necessary because a 6.x-1.x to 6.x-2.x upgrade
  // may not have mailsystem installed.
  if (function_exists('mailsystem_clear')) {
    mailsystem_clear(array(
      'htmlmail' => 'HTMLMailSystem',
    ));
  }
}