function uc_order_uninstall in Ubercart 5
Same name and namespace in other branches
- 8.4 uc_order/uc_order.install \uc_order_uninstall()
- 6.2 uc_order/uc_order.install \uc_order_uninstall()
- 7.3 uc_order/uc_order.install \uc_order_uninstall()
File
- uc_order/
uc_order.install, line 224
Code
function uc_order_uninstall() {
db_query("DROP TABLE {uc_orders}");
db_query("DROP TABLE {uc_order_admin_comments}");
db_query("DROP TABLE {uc_order_comments}");
db_query("DROP TABLE {uc_order_line_items}");
db_query("DROP TABLE {uc_order_log}");
db_query("DROP TABLE {uc_order_products}");
db_query("DROP TABLE {uc_order_statuses}");
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_order_pane_%'");
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_state_%'");
variable_del('uc_order_number_displayed');
variable_del('uc_order_logging');
variable_del('uc_order_capitalize_addresses');
variable_del('uc_ubrowser_product_select');
variable_del('uc_cust_view_order_invoices');
variable_del('uc_cust_order_invoice_template');
}