You are here

function uc_order_uninstall in Ubercart 6.2

Same name and namespace in other branches
  1. 8.4 uc_order/uc_order.install \uc_order_uninstall()
  2. 5 uc_order/uc_order.install \uc_order_uninstall()
  3. 7.3 uc_order/uc_order.install \uc_order_uninstall()

Implements hook_uninstall().

File

uc_order/uc_order.install, line 590
Install, update and uninstall functions for the uc_order module.

Code

function uc_order_uninstall() {
  drupal_uninstall_schema('uc_order');
  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_cust_view_order_invoices');
  variable_del('uc_cust_order_invoice_template');
}