You are here

function uc_attribute_uninstall in Ubercart 5

Same name and namespace in other branches
  1. 6.2 uc_attribute/uc_attribute.install \uc_attribute_uninstall()
  2. 7.3 uc_attribute/uc_attribute.install \uc_attribute_uninstall()

File

uc_attribute/uc_attribute.install, line 135

Code

function uc_attribute_uninstall() {
  db_query("DROP TABLE {uc_attributes}");
  db_query("DROP TABLE {uc_attribute_options}");
  db_query("DROP TABLE {uc_class_attributes}");
  db_query("DROP TABLE {uc_class_attribute_options}");
  db_query("DROP TABLE {uc_product_attributes}");
  db_query("DROP TABLE {uc_product_options}");
  db_query("DROP TABLE {uc_product_adjustments}");
  variable_del('uc_attribute_option_price_format');
}