You are here

function UserpointsTransaction::approve in User Points 7.2

Mark this transaction as approved.

See also

UserpointsTransaction::setStatus

File

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

Class

UserpointsTransaction
A Userpoints transaction.

Code

function approve() {
  $this
    ->setStatus(UserpointsTransaction::STATUS_APPROVED);
  return $this;
}