You are here

function smtp_uninstall in SMTP Authentication Support 6

Same name and namespace in other branches
  1. 8 smtp.install \smtp_uninstall()
  2. 7.2 smtp.install \smtp_uninstall()
  3. 7 smtp.install \smtp_uninstall()

Implementation of hook_uninstall().

File

./smtp.install, line 11
The uninstallation instructions for the SMTP Authentication Support.

Code

function smtp_uninstall() {
  variable_del('smtp_from');
  variable_del('smtp_fromname');
  variable_del('smtp_host');
  variable_del('smtp_hostbackup');
  variable_del('smtp_on');
  variable_del('smtp_password');
  variable_del('smtp_port');
  variable_del('smtp_protocol');
  variable_del('smtp_test_address');
  variable_del('smtp_username');
  if (variable_get('smtp_library', '') == drupal_get_path('module', 'smtp') . '/smtp.module') {
    variable_del('smtp_library');
  }
}