/[drupal]/contributions/modules/smtp/smtp.install
ViewVC logotype

Contents of /contributions/modules/smtp/smtp.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu Jul 3 18:41:15 2008 UTC (16 months, 3 weeks ago) by oadaeh
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA3, DRUPAL-6--1-0-BETA2, DRUPAL-6--1-0-BETA1, DRUPAL-6--1-0-BETA4, HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/x-php
Port to Drupal 6.x, including a lot of code clean up. Initial test pass, but more extensive testing needs to be done.
1 <?php
2 // $Id$
3
4 /**
5 * @file
6 * The uninstallation instructions for the SMTP Authentication Support.
7 */
8
9 /**
10 * Implementation of hook_uninstall().
11 */
12 function smtp_uninstall() {
13 variable_del('smtp_from');
14 variable_del('smtp_fromname');
15 variable_del('smtp_host');
16 variable_del('smtp_hostbackup');
17 variable_del('smtp_on');
18 variable_del('smtp_password');
19 variable_del('smtp_port');
20 variable_del('smtp_protocol');
21 variable_del('smtp_test_address');
22 variable_del('smtp_username');
23
24 if (variable_get('smtp_library', '') == drupal_get_path('module', 'smtp') .'/smtp.module') {
25 variable_del('smtp_library');
26 }
27 } // End of contact_attach_uninstall().

  ViewVC Help
Powered by ViewVC 1.1.2