You are here

function uc_catalog_uninstall in Ubercart 5

Same name and namespace in other branches
  1. 8.4 uc_catalog/uc_catalog.install \uc_catalog_uninstall()
  2. 6.2 uc_catalog/uc_catalog.install \uc_catalog_uninstall()
  3. 7.3 uc_catalog/uc_catalog.install \uc_catalog_uninstall()

File

uc_catalog/uc_catalog.install, line 52

Code

function uc_catalog_uninstall() {
  db_query("DROP TABLE {uc_catalog_images}");
  if ($vid = variable_get('uc_catalog_vid', 0)) {
    taxonomy_del_vocabulary($vid);
  }
  variable_del('uc_catalog_vid');
  variable_del('uc_catalog_name');
  variable_del('uc_catalog_description');
  variable_del('uc_catalog_breadcrumb');
  variable_del('uc_catalog_block_nodecount');
  variable_del('uc_catalog_breadcrumb_nodecount');
  variable_del('uc_catalog_show_subcategories');
  variable_del('uc_catalog_expand_categories');
  variable_del('uc_catalog_category_columns');
}