You are here

function uc_product_delete in Ubercart 5

Same name and namespace in other branches
  1. 6.2 uc_product/uc_product.module \uc_product_delete()
  2. 7.3 uc_product/uc_product.module \uc_product_delete()

Implementation of hook_delete().

File

uc_product/uc_product.module, line 695
The product module for Ubercart.

Code

function uc_product_delete(&$node) {
  db_query("DELETE from {uc_products} WHERE nid = %d", $node->nid);
}