function comment_notify_uninstall in Comment Notify 5.2
Same name and namespace in other branches
- 6 comment_notify.install \comment_notify_uninstall()
- 7 comment_notify.install \comment_notify_uninstall()
File
- ./
comment_notify.install, line 60 - comment_notify.install.
Code
function comment_notify_uninstall() {
if (db_table_exists('comment_notify')) {
db_query("DROP TABLE {comment_notify}");
}
if (db_table_exists('comment_notify_user_settings')) {
db_query("DROP TABLE {comment_notify_user_settings}");
}
variable_del('node_notify_default_mailtext');
db_query("DELETE FROM {variable} WHERE name LIKE 'comment_notify_%'");
}