You are here

function user_email_verification_user_delete in User email verification 7

Same name and namespace in other branches
  1. 8 user_email_verification.module \user_email_verification_user_delete()

Implements hook_user_delete().

File

./user_email_verification.module, line 389
This module allows you to have e-mail verification and in meanwhile allowing the users to type their own passwords. If they do not verify their accounts in a certain time interval the user will be blocked.

Code

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