ip_ban.install in IP Ban 7
Same filename and directory in other branches
Uninstall functions for the ip_ban module.
File
ip_ban.installView source
<?php
/**
* @file
* Uninstall functions for the ip_ban module.
*/
/**
* Implements hook_uninstall().
*/
function ip_ban_uninstall() {
db_delete('variable')
->condition('name', 'ip_ban_%', 'LIKE')
->execute();
cache_clear_all('variables', 'cache_bootstrap');
}
Functions
Name | Description |
---|---|
ip_ban_uninstall | Implements hook_uninstall(). |