Commit 56569180 authored by greggles's avatar greggles

task #326310 by Razorraser: TODO cleanup variables -> comment_notify.install

parent 3c611056
<?php
// $Id$
/**
* @file
* comment_notify.install.
*/
/**
* Implementation of hook_install().
......@@ -15,11 +19,18 @@ function comment_notify_install() {
db_query("UPDATE {system} SET weight = 10 WHERE name = 'comment_notify'");
}
/**
* Implementation of hook_uninstall().
*/
function comment_notify_uninstall() {
drupal_uninstall_schema('comment_notify');
// TODO cleanup variables
variable_del('node_notify_default_mailtext');
db_query("DELETE FROM {variable} WHERE name LIKE 'comment_notify_%'");
}
/**
* Implementation of hook_schema().
*/
function comment_notify_schema() {
$schema['comment_notify'] = array(
'description' => t('Stores information about which commenters on the site have subscriped to followup emails.'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment