function uc_cybersource_uninstall in Ubercart 7.3
Same name and namespace in other branches
- 5 payment/uc_cybersource/uc_cybersource.install \uc_cybersource_uninstall()
- 6.2 payment/uc_cybersource/uc_cybersource.install \uc_cybersource_uninstall()
Implements hook_uninstall().
File
- payment/
uc_cybersource/ uc_cybersource.install, line 70 - Install, update and uninstall functions for the uc_cybersource module.
Code
function uc_cybersource_uninstall() {
// Delete related variables all at once.
db_delete('variable')
->condition(db_or()
->condition('name', 'uc_cybersource_%', 'LIKE')
->condition('name', 'cs_ship_from_%', 'LIKE'))
->execute();
}