You are here

function ip_ban_uninstall in IP Ban 7

Same name and namespace in other branches
  1. 8 ip_ban.install \ip_ban_uninstall()

Implements hook_uninstall().

File

./ip_ban.install, line 11
Uninstall functions for the ip_ban module.

Code

function ip_ban_uninstall() {
  db_delete('variable')
    ->condition('name', 'ip_ban_%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache_bootstrap');
}