function uc_roles_feature_delete in Ubercart 6.2
Same name and namespace in other branches
- 5 uc_roles/uc_roles.module \uc_roles_feature_delete()
- 7.3 uc_roles/uc_roles.module \uc_roles_feature_delete()
Deletes all role data associated with a given product feature.
Parameters
$pfid: An Ubercart product feature ID.
1 string reference to 'uc_roles_feature_delete'
- uc_roles_product_feature in uc_roles/
uc_roles.module - Implements hook_product_feature().
File
- uc_roles/
uc_roles.module, line 1126
Code
function uc_roles_feature_delete($pfid) {
db_query("DELETE FROM {uc_roles_products} WHERE pfid = %d", $pfid);
}