function print_epub_uninstall in Printer, email and PDF versions 7.2
Implements hook_uninstall().
File
- print_epub/
print_epub.install, line 27 - Install, update and uninstall functions for the print_epub module.
Code
function print_epub_uninstall() {
variable_del('print_epub_display_sys_urllist');
variable_del('print_epub_filename');
variable_del('print_epub_images_via_file');
variable_del('print_epub_link_text');
variable_del('print_epub_link_text_enabled');
variable_del('print_epub_epub_tool');
variable_del('print_epub_book_link');
variable_del('print_epub_link_class');
variable_del('print_epub_link_pos');
variable_del('print_epub_link_teaser');
variable_del('print_epub_link_use_alias');
variable_del('print_epub_show_link');
variable_del('print_epub_sys_link_pages');
variable_del('print_epub_sys_link_visibility');
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'print\\_epub\\_display\\_%'");
foreach ($settings as $variable) {
variable_del($variable->name);
}
}