You are here

function pay::disable in Pay 6

Same name and namespace in other branches
  1. 7 includes/handlers/pay.inc \pay::disable()

File

includes/handlers/pay.inc, line 132
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();
}