You are here

function linkchecker_uninstall in Link checker 5.2

Same name and namespace in other branches
  1. 5 linkchecker.install \linkchecker_uninstall()
  2. 6.2 linkchecker.install \linkchecker_uninstall()
  3. 7 linkchecker.install \linkchecker_uninstall()

Implementation of hook_uninstall().

File

./linkchecker.install, line 86
Installation file for Link Checker module.

Code

function linkchecker_uninstall() {
  db_query("DROP TABLE {linkchecker_boxes}");
  db_query("DROP TABLE {linkchecker_nodes}");
  db_query("DROP TABLE {linkchecker_comments}");
  db_query("DROP TABLE {linkchecker_links}");
  variable_del('linkchecker_action_status_code_301');
  variable_del('linkchecker_action_status_code_404');
  variable_del('linkchecker_check_links_interval');
  variable_del('linkchecker_check_links_max');
  variable_del('linkchecker_check_useragent');
  variable_del('linkchecker_cleanup_links_last');
  variable_del('linkchecker_disable_link_check_for_urls');
  variable_del('linkchecker_extract_from_a');
  variable_del('linkchecker_extract_from_audio');
  variable_del('linkchecker_extract_from_embed');
  variable_del('linkchecker_extract_from_iframe');
  variable_del('linkchecker_extract_from_img');
  variable_del('linkchecker_extract_from_object');
  variable_del('linkchecker_extract_from_source');
  variable_del('linkchecker_extract_from_video');
  variable_del('linkchecker_filter_blacklist');
  variable_del('linkchecker_fqdn_only');
  variable_del('linkchecker_ignore_response_codes');
  variable_del('linkchecker_scan_blocks');
  variable_del('linkchecker_scan_comments');
  variable_del('linkchecker_scan_nodetypes');
}