function print_pdf_uninstall in Printer, email and PDF versions 7.2
Same name and namespace in other branches
- 5.4 print_pdf/print_pdf.install \print_pdf_uninstall()
- 5.3 print_pdf/print_pdf.install \print_pdf_uninstall()
- 6 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()
Implements hook_uninstall().
File
- print_pdf/
print_pdf.install, line 27 - Install, update and uninstall functions for the print_pdf module.
Code
function print_pdf_uninstall() {
variable_del('print_pdf_autoconfig');
variable_del('print_pdf_cache_enabled');
variable_del('print_pdf_cache_lifetime');
variable_del('print_pdf_content_disposition');
variable_del('print_pdf_display_sys_urllist');
variable_del('print_pdf_filename');
variable_del('print_pdf_images_via_file');
variable_del('print_pdf_link_text');
variable_del('print_pdf_link_text_enabled');
variable_del('print_pdf_page_orientation');
variable_del('print_pdf_paper_size');
variable_del('print_pdf_pdf_tool');
variable_del('print_pdf_book_link');
variable_del('print_pdf_link_class');
variable_del('print_pdf_link_pos');
variable_del('print_pdf_link_teaser');
variable_del('print_pdf_link_use_alias');
variable_del('print_pdf_show_link');
variable_del('print_pdf_sys_link_pages');
variable_del('print_pdf_sys_link_visibility');
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'print\\_pdf\\_display\\_%'");
foreach ($settings as $variable) {
variable_del($variable->name);
}
}