You are here

function password_policy_uninstall in Password Policy 7

Same name and namespace in other branches
  1. 8.3 password_policy.install \password_policy_uninstall()
  2. 5 password_policy.install \password_policy_uninstall()
  3. 6 password_policy.install \password_policy_uninstall()
  4. 7.2 password_policy.install \password_policy_uninstall()

Implements hook_uninstall().

File

./password_policy.install, line 262
Password Policy module installation and upgrade code.

Code

function password_policy_uninstall() {
  variable_del('password_policy_admin');
  variable_del('password_policy_begin');
  variable_del('password_policy_block');
  variable_del('password_policy_show_restrictions');
  variable_del('password_policy_warning_subject');
  variable_del('password_policy_warning_body');
  variable_del('password_policy_new_login_change');
  variable_del('password_policy_force_change_reset');
  variable_del('password_policy_force_change_by_mail');
  variable_del('password_policy_force_change_path');
  variable_del('password_policy_force_change_extra_allowed_paths');
  variable_del('password_policy_expired_account_entries');
}