function uc_payment_uninstall in Ubercart 6.2
Same name and namespace in other branches
- 5 payment/uc_payment/uc_payment.install \uc_payment_uninstall()
- 7.3 payment/uc_payment/uc_payment.install \uc_payment_uninstall()
File
- payment/
uc_payment/ uc_payment.install, line 80 - Install hooks for uc_payment.module.
Code
function uc_payment_uninstall() {
drupal_uninstall_schema('uc_payment');
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_pg_%%'");
db_query("DELETE FROM {variable} WHERE name LIKE 'uc_payment_%%'");
variable_del('uc_default_payment_msg');
}