function uc_attribute_uc_product_class in Ubercart 7.3
Implements hook_uc_product_class().
File
- uc_attribute/
uc_attribute.module, line 506 - Ubercart Attribute module.
Code
function uc_attribute_uc_product_class($type, $op) {
switch ($op) {
case 'delete':
db_delete('uc_class_attributes')
->condition('pcid', $type)
->execute();
db_delete('uc_class_attribute_options')
->condition('pcid', $type)
->execute();
break;
}
}