function print_uninstall in Printer, email and PDF versions 7.2
Same name and namespace in other branches
- 5.4 print.install \print_uninstall()
- 5.2 print.install \print_uninstall()
- 5.3 print.install \print_uninstall()
- 6 print.install \print_uninstall()
- 7 print.install \print_uninstall()
- 5.x print.install \print_uninstall()
Implements hook_uninstall().
File
- ./
print.install, line 37 - Install, update and uninstall functions for the print module.
Code
function print_uninstall() {
variable_del('print_comments');
variable_del('print_css');
variable_del('print_footer_options');
variable_del('print_footer_user');
variable_del('print_html_display_sys_urllist');
variable_del('print_html_link_text');
variable_del('print_html_link_text_enabled');
variable_del('print_html_new_window');
variable_del('print_html_sendtoprinter');
variable_del('print_html_windowclose');
variable_del('print_keep_theme_css');
variable_del('print_logo_options');
variable_del('print_logo_url');
variable_del('print_newwindow');
variable_del('print_robots_noarchive');
variable_del('print_robots_nofollow');
variable_del('print_robots_noindex');
variable_del('print_sourceurl_date');
variable_del('print_sourceurl_enabled');
variable_del('print_sourceurl_forcenode');
variable_del('print_urls');
variable_del('print_urls_anchors');
variable_del('print_html_book_link');
variable_del('print_html_link_class');
variable_del('print_html_link_pos');
variable_del('print_html_link_teaser');
variable_del('print_html_link_use_alias');
variable_del('print_html_show_link');
variable_del('print_html_sys_link_pages');
variable_del('print_html_sys_link_visibility');
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'print\\_html\\_display\\_%'");
foreach ($settings as $variable) {
variable_del($variable->name);
}
}