function commerce_reports_tax_entity_delete in Commerce Reporting 7.4
Implements hook_entity_delete().
File
- modules/
tax/ commerce_reports_tax.module, line 200 - Module file for Commerce Reports Tax.
Code
function commerce_reports_tax_entity_delete($entity, $type) {
if ($type == 'commerce_order') {
commerce_reports_tax_order_delete($entity->order_id);
}
}