You are here

function uc_cart_uninstall in Ubercart 5

Same name and namespace in other branches
  1. 8.4 uc_cart/uc_cart.install \uc_cart_uninstall()
  2. 6.2 uc_cart/uc_cart.install \uc_cart_uninstall()
  3. 7.3 uc_cart/uc_cart.install \uc_cart_uninstall()

File

uc_cart/uc_cart.install, line 32

Code

function uc_cart_uninstall() {
  db_query("DROP TABLE {uc_cart_products}");
  db_query("DELETE FROM {variable} WHERE name LIKE 'uc_pane_%%'");
  db_query("DELETE FROM {variable} WHERE name LIKE 'uc_cap_%%'");
  variable_del('uc_cart_empty_hide');
  variable_del('uc_cart_expanded');
  variable_del('uc_cart_show_help_text');
  variable_del('uc_cart_help_text');
  variable_del('uc_cart_anon_duration');
  variable_del('uc_cart_anon_unit');
  variable_del('uc_cart_auth_duration');
  variable_del('uc_cart_auth_unit');
  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_cart_breadcrumb_url');
  variable_del('uc_cart_breadcrumb_text');
  variable_del('uc_checkout_enabled');
  variable_del('uc_checkout_next_button');
  variable_del('uc_checkout_review_button');
  variable_del('uc_checkout_submit_button');
  variable_del('uc_use_next_buttons');
  variable_del('uc_collapse_current_pane');
  variable_del('uc_cart_delivery_not_shippable');
  variable_del('uc_new_customer_email');
  variable_del('uc_checkout_anonymous');
  variable_del('uc_cart_checkout_complete_page');
  variable_del('uc_checkout_instructions');
  variable_del('uc_checkout_review_instructions');
  variable_del('uc_msg_order_submit');
  variable_del('uc_msg_order_logged_in');
  variable_del('uc_msg_order_existing_user');
  variable_del('uc_msg_order_new_user');
  variable_del('uc_msg_continue_shopping');
}