You are here

function uc_restrict_qty_feature_delete in Ubercart Restrict Qty 6.2

Same name and namespace in other branches
  1. 7 uc_restrict_qty.module \uc_restrict_qty_feature_delete()

Delete all data associated with a given product feature.

Parameters

$pfid: An Ubercart product feature ID.

1 string reference to 'uc_restrict_qty_feature_delete'
uc_restrict_qty_product_feature in ./uc_restrict_qty.module
Implementation of hook_product_feature().

File

./uc_restrict_qty.module, line 330
Restrict the quantity on specified products so that only specified quantity may be purchased at a time.

Code

function uc_restrict_qty_feature_delete($pfid) {
  db_query("DELETE FROM {uc_restrict_qty_products} WHERE pfid = %d", $pfid);
}