function pay_node_node_delete in Pay 7
Implements hook_node_delete().
File
- modules/
pay_node/ pay_node.module, line 189
Code
function pay_node_node_delete($node) {
// Remove the pay_form <-> node relationship from the database.
// Delete the relationship in the database.
db_delete('pay_form_node')
->condition('nid', $node->nid)
->execute();
}