function uc_restrict_qty_node_delete in Ubercart Restrict Qty 6.2
Same name and namespace in other branches
- 7 uc_restrict_qty.module \uc_restrict_qty_node_delete()
Delete all data associated with a given node.
Parameters
$nid: A Drupal node ID.
File
- ./
uc_restrict_qty.module, line 320 - Restrict the quantity on specified products so that only specified quantity may be purchased at a time.
Code
function uc_restrict_qty_node_delete($nid) {
db_query("DELETE FROM {uc_restrict_qty_products} WHERE nid = %d", $nid);
}