You are here

function uc_authorizenet_uninstall in Ubercart 7.3

Same name and namespace in other branches
  1. 5 payment/uc_authorizenet/uc_authorizenet.install \uc_authorizenet_uninstall()
  2. 6.2 payment/uc_authorizenet/uc_authorizenet.install \uc_authorizenet_uninstall()

Implements hook_uninstall().

File

payment/uc_authorizenet/uc_authorizenet.install, line 31
Install, update and uninstall functions for the uc_authorizenet module.

Code

function uc_authorizenet_uninstall() {

  // Delete related variables all at once.
  db_delete('variable')
    ->condition('name', 'uc_authnet_%', 'LIKE')
    ->execute();
}