You are here

function uc_cart_links_uninstall in Ubercart 5

Same name and namespace in other branches
  1. 6.2 uc_cart_links/uc_cart_links.install \uc_cart_links_uninstall()
  2. 7.3 uc_cart_links/uc_cart_links.install \uc_cart_links_uninstall()

File

uc_cart_links/uc_cart_links.install, line 26

Code

function uc_cart_links_uninstall() {
  db_query("DROP TABLE {uc_cart_link_clicks}");
  db_query("DELETE FROM {variable} WHERE name LIKE 'uc_cart_links_%%'");
  cache_clear_all('variables', 'cache');
}