function uc_roles_feature_delete in Ubercart 5
Same name and namespace in other branches
- 6.2 uc_roles/uc_roles.module \uc_roles_feature_delete()
- 7.3 uc_roles/uc_roles.module \uc_roles_feature_delete()
product_feature delete function
1 string reference to 'uc_roles_feature_delete'
- uc_roles_product_feature in uc_roles/
uc_roles.module - Implementation of hook_product_feature().
File
- uc_roles/
uc_roles.module, line 538 - Grants roles upon accepted payment of products
Code
function uc_roles_feature_delete($feature) {
db_query("DELETE FROM {uc_roles_products} WHERE pfid = %d", $feature['pfid']);
}