You are here

function rules_action_user_unblock in Rules 7.2

Action: Unblock a user.

Related topics

1 string reference to 'rules_action_user_unblock'
rules_user_action_info in modules/user.rules.inc
Implements hook_rules_action_info() on behalf of the user module.

File

modules/user.eval.inc, line 97
Contains rules integration for the user module needed during evaluation.

Code

function rules_action_user_unblock($account) {
  $account->status = 1;
}