You are here

function uc_cybersource_uninstall in Ubercart 6.2

Same name and namespace in other branches
  1. 5 payment/uc_cybersource/uc_cybersource.install \uc_cybersource_uninstall()
  2. 7.3 payment/uc_cybersource/uc_cybersource.install \uc_cybersource_uninstall()

Implements hook_uninstall().

File

payment/uc_cybersource/uc_cybersource.install, line 77
Handles installing, uninstalling, and updating CyberSource settings.

Code

function uc_cybersource_uninstall() {

  // Delete related variables all at once.
  db_query("DELETE FROM {variable} WHERE name LIKE 'uc_cybersource_%%' OR name LIKE 'cs_ship_from_%%'");
}