You are here

function pay_node_pay_transaction_delete in Pay 7

Same name and namespace in other branches
  1. 6 modules/pay_node/pay_node.module \pay_node_pay_transaction_delete()

Implements hook_pay_transaction_delete().

File

modules/pay_node/pay_node.module, line 248

Code

function pay_node_pay_transaction_delete(&$transaction) {
  db_delete('pay_transaction_node')
    ->condition('pxid', $transaction->pxid)
    ->execute();
}