function uc_payment_pack_uninstall in Ubercart 7.3
Same name and namespace in other branches
- 5 payment/uc_payment_pack/uc_payment_pack.install \uc_payment_pack_uninstall()
- 6.2 payment/uc_payment_pack/uc_payment_pack.install \uc_payment_pack_uninstall()
Implements hook_uninstall().
File
- payment/
uc_payment_pack/ uc_payment_pack.install, line 126 - Install, update and uninstall functions for the uc_payment_pack module.
Code
function uc_payment_pack_uninstall() {
db_delete('variable')
->condition(db_or()
->condition('name', 'uc_check_%', 'LIKE')
->condition('name', 'uc_cod_%', 'LIKE'))
->execute();
}