4 * Implementation of hook_install().
6 function ctmail_install() {
7 // Put this module after comment.module so it can properly add its own
9 db_query("UPDATE {system} SET weight = %d WHERE name = 'ctmail'", db_result(db_query("SELECT weight FROM {system} WHERE name = 'comment'")) + 1);
13 * Implementation of hook_uninstall().
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: