function userpoints_rules_get_current_points in User Points 7
Same name and namespace in other branches
- 7.2 userpoints_rules/userpoints_rules.rules.inc \userpoints_rules_get_current_points()
Rules action - load points of a user.
File
- ./
userpoints_rules.rules.inc, line 215 - Provide better integration into the rules group
Code
function userpoints_rules_get_current_points($account, $tid) {
return array(
'loaded_points' => userpoints_get_current_points($account->uid, $tid),
);
}