You are here

function postmark_uninstall in Postmark 7

Same name and namespace in other branches
  1. 8 postmark.install \postmark_uninstall()
  2. 6 postmark.install \postmark_uninstall()

Implementation of hook_uninstall().

File

./postmark.install, line 11
PostMark installation functions.

Code

function postmark_uninstall() {

  // Remove the SMTP library value
  if (strpos(variable_get('smtp_library', ''), 'postmark')) {
    variable_del('smtp_library');
  }
  variable_del('postmark_enabled');
  variable_del('postmark_api_key');
}