function print_pdf_uninstall in Printer, email and PDF versions 5.3
Same name and namespace in other branches
- 5.4 print_pdf/print_pdf.install \print_pdf_uninstall()
- 6 print_pdf/print_pdf.install \print_pdf_uninstall()
- 7.2 print_pdf/print_pdf.install \print_pdf_uninstall()
- 7 print_pdf/print_pdf.install \print_pdf_uninstall()
- 5.x print_pdf/print_pdf.install \print_pdf_uninstall()
Implementation of hook_uninstall().
File
- print_pdf/
print_pdf.install, line 11 - Install file of the print_pdf module
Code
function print_pdf_uninstall() {
variable_del('print_pdf_settings');
variable_del('print_pdf_show_link');
variable_del('print_pdf_link_pos');
variable_del('print_pdf_node_link_visibility');
variable_del('print_pdf_node_link_pages');
variable_del('print_pdf_link_class');
variable_del('print_pdf_sys_link_visibility');
variable_del('print_pdf_sys_link_pages');
variable_del('print_pdf_book_link');
variable_del('print_pdf_pdf_tool');
variable_del('print_pdf_content_disposition');
variable_del('print_pdf_paper_size');
variable_del('print_pdf_page_orientation');
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'print\\_pdf\\_display\\_%'");
while ($variable = db_fetch_object($settings)) {
variable_del($variable->name);
}
}