Added some more variables to the available list
[drupal_ctmail.git] / ctmail.install
blob1cb1277d14cab3806f211e4f02275fe15a957aa0
1 <?php
3 /**
4  * Implementation of hook_install().
5  */
6 function ctmail_install() {
7   // Put this module after comment.module so it can properly add its own
8   // submit() handler.
9   db_query("UPDATE {system} SET weight = %d WHERE name = 'ctmail'", db_result(db_query("SELECT weight FROM {system} WHERE name = 'comment'")) + 1);
12 /**
13  * Implementation of hook_uninstall().
14  */
15 function ctmail_uninstall() {
16   variable_del('ctmail_subject');
17   variable_del('ctmail_body');
18   variable_del('ctmail_author');
21 // vim: set ft=php syntax=php expandtab ts=2 sw=2 autoindent smartindent: