You are here

function uc_credit_uninstall in Ubercart 5

Same name and namespace in other branches
  1. 6.2 payment/uc_credit/uc_credit.install \uc_credit_uninstall()
  2. 7.3 payment/uc_credit/uc_credit.install \uc_credit_uninstall()

File

payment/uc_credit/uc_credit.install, line 42

Code

function uc_credit_uninstall() {
  db_query("DROP TABLE {uc_payment_credit}");
  variable_del('uc_credit_checkout_process');
  variable_del('uc_credit_checkout_no_store');
  variable_del('uc_credit_fail_message');
  variable_del('uc_credit_visa');
  variable_del('uc_credit_mastercard');
  variable_del('uc_credit_discover');
  variable_del('uc_credit_amex');
  variable_del('uc_credit_cvv_enabled');
  variable_del('uc_credit_owner_enabled');
  variable_del('uc_credit_validate_numbers');
  variable_del('uc_credit_policy');
  variable_del('uc_credit_clear_status');
  variable_del('uc_credit_number_duration');
  variable_del('uc_credit_number_unit');
}