You are here

function uc_addresses_uninstall in Ubercart Addresses 5

Same name and namespace in other branches
  1. 5.2 uc_addresses.install \uc_addresses_uninstall()
  2. 6.2 uc_addresses.install \uc_addresses_uninstall()
  3. 6 uc_addresses.install \uc_addresses_uninstall()
  4. 7 uc_addresses.install \uc_addresses_uninstall()

Implementation of hook_uninstall().

File

./uc_addresses.install, line 102

Code

function uc_addresses_uninstall() {
  db_query("DROP TABLE {uc_addresses}");
  db_query("DROP TABLE {uc_addresses_defaults}");
  db_query("DELETE FROM {sequences} WHERE name = 'uc_addresses'");
  db_query("DELETE FROM {variable} WHERE name LIKE 'uc_addresses%'");
}