function rules_condition_user_is_blocked

Condition: User is blocked.

Related topics

1 string reference to 'rules_condition_user_is_blocked'
rules_user_condition_info in modules/user.rules.inc
Implements hook_rules_condition_info() on behalf of the user module.

File

modules/user.eval.inc, line 38

Code

function rules_condition_user_is_blocked($account) {
    return $account->status == 0;
}