You are here

function ip_anon_uninstall in IP Anonymize 7

Same name and namespace in other branches
  1. 5 ip_anon.install \ip_anon_uninstall()
  2. 6 ip_anon.install \ip_anon_uninstall()

Implements hook_uninstall().

File

./ip_anon.install, line 11
Uninstall function for IP Anonymize module.

Code

function ip_anon_uninstall() {
  db_delete('variable')
    ->condition('name', db_like('ip_anon_period_') . '%', 'LIKE')
    ->execute();
  variable_del('ip_anon_policy');
}