function print_uninstall in Printer, email and PDF versions 5.3
Same name and namespace in other branches
- 5.4 print.install \print_uninstall()
- 5.2 print.install \print_uninstall()
- 6 print.install \print_uninstall()
- 7.2 print.install \print_uninstall()
- 7 print.install \print_uninstall()
- 5.x print.install \print_uninstall()
Implementation of hook_uninstall().
File
- ./
print.install, line 21 - Install file of the print module
Code
function print_uninstall() {
variable_del('print_settings');
variable_del('print_display_comment');
variable_del('print_sourceurl_settings');
variable_del('print_robot_settings');
variable_del('print_logo_url');
variable_del('print_logo_options');
variable_del('print_css');
variable_del('print_urls');
variable_del('print_comments');
variable_del('print_newwindow');
variable_del('print_sourceurl_enabled');
variable_del('print_sourceurl_date');
variable_del('print_sourceurl_forcenode');
variable_del('print_html_show_link');
variable_del('print_html_link_pos');
variable_del('print_html_node_link_visibility');
variable_del('print_html_node_link_pages');
variable_del('print_html_link_class');
variable_del('print_html_sys_link_visibility');
variable_del('print_html_sys_link_pages');
variable_del('print_html_book_link');
variable_del('print_html_new_window');
variable_del('print_html_sendtoprinter');
variable_del('print_robots_noindex');
variable_del('print_robots_nofollow');
variable_del('print_robots_noarchive');
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'print\\_display\\_%'");
while ($variable = db_fetch_object($settings)) {
variable_del($variable->name);
}
}