function uc_atctweaks_feature_delete in UC Add to Cart Tweaks 7
Same name and namespace in other branches
- 6 uc_atctweaks.module \uc_atctweaks_feature_delete()
Add to Cart Tweaks product feature delete function.
1 string reference to 'uc_atctweaks_feature_delete'
- uc_atctweaks_uc_product_feature in ./
uc_atctweaks.module - Implements hook_uc_product_feature().
File
- ./
uc_atctweaks.module, line 264 - Defines a product feature to tweak the add to cart form behavior.
Code
function uc_atctweaks_feature_delete($feature) {
db_delete('uc_atctweaks_products')
->condition('pfid', $feature['pfid'])
->execute();
}