You are here

function linkchecker_uninstall in Link checker 7

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

Implements hook_uninstall().

File

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

Code

function linkchecker_uninstall() {
  variable_del('linkchecker_action_status_code_301');
  variable_del('linkchecker_action_status_code_404');
  variable_del('linkchecker_check_connections_max');
  variable_del('linkchecker_check_library');
  variable_del('linkchecker_check_links_interval');
  variable_del('linkchecker_check_links_types');
  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_video');
  variable_del('linkchecker_filter_blacklist');
  variable_del('linkchecker_ignore_response_codes');
  variable_del('linkchecker_impersonate_user');
  variable_del('linkchecker_scan_blocks');
  variable_del('linkchecker_log_level');
  foreach (node_type_get_names() as $type => $name) {
    variable_del('linkchecker_scan_node_' . $type);
    variable_del('linkchecker_scan_comment_' . $type);
  }
}