You are here

smtp.install in SMTP Authentication Support 6

Same filename and directory in other branches
  1. 8 smtp.install
  2. 7.2 smtp.install
  3. 7 smtp.install

The uninstallation instructions for the SMTP Authentication Support.

File

smtp.install
View source
<?php

/**
 * @file
 * The uninstallation instructions for the SMTP Authentication Support.
 */

/**
 * Implementation of hook_uninstall().
 */
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');
  }
}

//  End of contact_attach_uninstall().

Functions

Namesort descending Description
smtp_uninstall Implementation of hook_uninstall().