You are here

function redirect_uninstall in Redirect 7.2

Same name and namespace in other branches
  1. 7 redirect.install \redirect_uninstall()

Implements hook_uninstall().

File

./redirect.install, line 143
Install, update and uninstall functions for the redirect module.

Code

function redirect_uninstall() {
  drupal_load('module', 'redirect');
  $variables = array_keys(redirect_variables());
  foreach ($variables as $variable) {
    variable_del($variable);
  }
}