/[drupal]/contributions/modules/commentcloser/comment_closer.install
ViewVC logotype

Contents of /contributions/modules/commentcloser/comment_closer.install

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


Revision 1.1 - (show annotations) (download) (as text)
Sun Jun 29 19:37:15 2008 UTC (16 months, 4 weeks ago) by rmiddle
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
File MIME type: text/x-php
Added uninstall for the module.  Also added the abitly to add a comment during closing.
1 <?php
2 // $Id:
3
4 /**
5 * @file
6 */
7
8 /**
9 * Implementation of hook_uninstall().
10 */
11 function comment_closer_uninstall() {
12 variable_del('comment_closer_age');
13 variable_del('comment_closer_cycle_period');
14 variable_del('comment_closer_next_date');
15 variable_del('comment_closer_types');
16 variable_del('comment_closer_insert_body');
17 variable_del('comment_closer_insert_closing_comment');
18 variable_del('comment_closer_insert_subject');
19
20 drupal_set_message(t('Comment Closer module uninstalled.'));
21 }

  ViewVC Help
Powered by ViewVC 1.1.2