function userpoints_rules_transaction_amount in User Points 6
Condition: check transaction amount
File
- ./
userpoints_rules.rules.inc, line 176 - Provide better integration into the rules module
Code
function userpoints_rules_transaction_amount($transaction, $settings) {
return $transaction['points'] >= $settings['amount'];
}