function print_mail_uninstall in Printer, email and PDF versions 5.3
Same name and namespace in other branches
- 5.4 print_mail/print_mail.install \print_mail_uninstall()
- 6 print_mail/print_mail.install \print_mail_uninstall()
- 7.2 print_mail/print_mail.install \print_mail_uninstall()
- 7 print_mail/print_mail.install \print_mail_uninstall()
- 5.x print_mail/print_mail.install \print_mail_uninstall()
Implementation of hook_uninstall().
File
- print_mail/
print_mail.install, line 11 - Install file of the print_mail module
Code
function print_mail_uninstall() {
variable_del('print_mail_settings');
variable_del('print_mail_show_link');
variable_del('print_mail_link_pos');
variable_del('print_mail_node_link_visibility');
variable_del('print_mail_node_link_pages');
variable_del('print_mail_link_class');
variable_del('print_mail_sys_link_visibility');
variable_del('print_mail_sys_link_pages');
variable_del('print_mail_book_link');
variable_del('print_mail_hourly_threshold');
variable_del('print_mail_teaser_default');
variable_del('print_mail_teaser_choice');
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'print\\_mail\\_display\\_%'");
while ($variable = db_fetch_object($settings)) {
variable_del($variable->name);
}
}