You are here

function pay::disable in Pay 7

Same name and namespace in other branches
  1. 6 includes/handlers/pay.inc \pay::disable()
1 method overrides pay::disable()
pay_method::disable in includes/handlers/pay_method.inc
Disable this payment method.

File

includes/handlers/pay.inc, line 140
The base class for the Payment API.

Class

pay
@file The base class for the Payment API.

Code

function disable() {
  $this
    ->set_status(FALSE);
  $this
    ->save();
}