You are here

function user_email_verification_task in User email verification 7

Queue worker callback for running a single task.

Parameters

array $task: The task to process.

1 string reference to 'user_email_verification_task'
user_email_verification_cron_queue_info in ./user_email_verification.module
Implements hook_cron_queue_info().

File

./user_email_verification.module, line 34
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_task($uid) {

  // Block account if active
  user_email_verification_block_account($uid);
}