You are here

function commerce_tax_rates_reset in Commerce Core 7

Resets the cached list of tax rates.

5 calls to commerce_tax_rates_reset()
CommerceTaxUIAdminTest::testCommerceTaxUICreateTaxRate in modules/tax/tests/commerce_tax_ui.test
Test the creation of a tax rate.
CommerceTaxUIAdminTest::testCommerceTaxUIDeleteTaxRate in modules/tax/tests/commerce_tax_ui.test
Test deleting a tax rate.
CommerceTaxUIAdminTest::testCommerceTaxUIEditTaxRate in modules/tax/tests/commerce_tax_ui.test
Test editing a tax rate.
commerce_tax_ui_tax_rate_delete in modules/tax/commerce_tax_ui.module
Deletes a tax rate.
commerce_tax_ui_tax_rate_save in modules/tax/commerce_tax_ui.module
Saves a tax rate.

File

modules/tax/commerce_tax.module, line 186
Defines tax rates and Rules integration for configuring tax rules for applicability and display.

Code

function commerce_tax_rates_reset() {
  $tax_rates =& drupal_static('commerce_tax_rates');
  $tax_rates = NULL;
}