function uc_product_uninstall in Ubercart 5
Same name and namespace in other branches
- 8.4 uc_product/uc_product.install \uc_product_uninstall()
- 6.2 uc_product/uc_product.install \uc_product_uninstall()
- 7.3 uc_product/uc_product.install \uc_product_uninstall()
File
- uc_product/
uc_product.install, line 89 - Database installation, uninstallation, and updates for the product module.
Code
function uc_product_uninstall() {
db_query("DROP TABLE {uc_product_classes}");
db_query("DROP TABLE {uc_product_features}");
db_query("DROP TABLE {uc_products}");
variable_del('uc_product_nodes_per_page');
variable_del('uc_product_add_to_cart_qty');
variable_del('uc_product_add_to_cart_teaser');
variable_del('uc_teaser_add_to_cart_text');
variable_del('uc_product_add_to_cart_text');
variable_del('uc_product_field_enabled');
variable_del('uc_product_field_weight');
}