You are here

function resource_hints_uninstall in Resource Hints 7

Same name and namespace in other branches
  1. 8 resource_hints.install \resource_hints_uninstall()
  2. 7.2 resource_hints.install \resource_hints_uninstall()

Implements hook_uninstall().

File

./resource_hints.install, line 11
Install hooks for the resource hints module.

Code

function resource_hints_uninstall() {
  $vars = array(
    'resource_hints_dns_prefetch_output',
    'resource_hints_dns_prefetch_control',
    'resource_hints_dns_prefetch_resources',
    'resource_hints_preconnect_output',
    'resource_hints_preconnect_resources',
    'resource_hints_prefetch_output',
    'resource_hints_prefetch_resources',
    'resource_hints_prerender_output',
    'resource_hints_prerender_resources',
  );
  foreach ($vars as $var) {
    variable_del($var);
  }
}