You are here

function uc_taxes_install in Ubercart 6.2

Same name and namespace in other branches
  1. 5 uc_taxes/uc_taxes.install \uc_taxes_install()

Implements hook_install().

File

uc_taxes/uc_taxes.install, line 71
Install, update and uninstall functions for the uc_taxes module.

Code

function uc_taxes_install() {
  drupal_install_schema('uc_taxes');

  // Increase the module weight so taxes are calculated after other line items.
  db_query("UPDATE {system} SET weight = 10 WHERE name = 'uc_taxes'");
}