You are here

function uc_cybersource_uninstall in Ubercart 5

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

@file Handles installing, uninstalling, and updating CyberSource settings.

File

payment/uc_cybersource/uc_cybersource.install, line 8
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_%%'");
}