You are here

function uc_usps_node_delete in Ubercart 7.3

Same name and namespace in other branches
  1. 8.4 shipping/uc_usps/uc_usps.module \uc_usps_node_delete()

Implements hook_node_delete().

File

shipping/uc_usps/uc_usps.module, line 148
United States Postal Service (USPS) shipping quote module.

Code

function uc_usps_node_delete($node) {
  db_delete('uc_usps_products')
    ->condition('nid', $node->nid)
    ->execute();
}