You are here

function UserpointsTransaction::isDenied in User Points 7.2

Check if this transaction is denied.

A transaction is denied if there are any deny reasons.

See also

UserpointsTransaction::deny().

UserpointsTransaction::getDenyReasons()

File

./userpoints.transaction.inc, line 845
Contains the UserpointsTransaction and related classes.

Class

UserpointsTransaction
A Userpoints transaction.

Code

function isDenied() {
  return !empty($this->denied_reasons);
}