You are here

function password_policy_user_delete in Password Policy 7.2

Same name and namespace in other branches
  1. 7 password_policy.module \password_policy_user_delete()

Implements hook_user_delete().

File

./password_policy.module, line 587
Enforces password policies.

Code

function password_policy_user_delete($account) {
  db_delete('password_policy_history')
    ->condition('uid', $account->uid)
    ->execute();
}