You are here

function mimemail_disable in Mime Mail 6

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

Implements hook_disable().

File

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

Code

function mimemail_disable() {
  if (strpos(variable_get('smtp_library', ''), 'mimemail') !== FALSE) {
    variable_del('smtp_library');
  }
}