function rules_condition_user_comparison in Rules 6
A simple user comparison
Related topics
File
- rules/
modules/ user.rules.inc, line 108 - rules integration for the user module
Code
function rules_condition_user_comparison($user1, $user2) {
return $user1->uid == $user2->uid;
}