function uc_cart_uninstall in Ubercart 6.2
Same name and namespace in other branches
- 8.4 uc_cart/uc_cart.install \uc_cart_uninstall()
- 5 uc_cart/uc_cart.install \uc_cart_uninstall()
- 7.3 uc_cart/uc_cart.install \uc_cart_uninstall()
Implements hook_uninstall().
File
- uc_cart/
uc_cart.install, line 75 - Install hooks for uc_cart.module.
Code
function uc_cart_uninstall() {
drupal_uninstall_schema('uc_cart');
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_cart_%%'");
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_pane_%%'");
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_cap_%%'");
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_checkout_%%'");
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_msg_%%'");
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_new_customer_%%'");
variable_del('uc_minimum_subtotal');
variable_del('uc_add_item_redirect');
variable_del('uc_continue_shopping_url');
variable_del('uc_continue_shopping_text');
variable_del('uc_continue_shopping_type');
variable_del('uc_use_next_buttons');
variable_del('uc_collapse_current_pane');
variable_del('uc_ce_no_cancel');
variable_del('uc_ce_submit_disable');
}