You are here

function taxonomy_image_uninstall in Taxonomy Image 6

Same name and namespace in other branches
  1. 5 taxonomy_image.install \taxonomy_image_uninstall()

Implementation of hook_uninstall().

File

./taxonomy_image.install, line 208
taxonomy_image.install. Simple module for providing an association between taxonomy terms and images. Written by Jeremy Andrews <jeremy@kerneltrap.org>, May 2004.

Code

function taxonomy_image_uninstall() {
  drupal_uninstall_schema('taxonomy_image');
  db_query("DELETE FROM {blocks} WHERE module='taxonomy_image'");
  variable_del('taxonomy_image_height');
  variable_del('taxonomy_image_path');
  variable_del('taxonomy_image_recursive');
  variable_del('taxonomy_image_resize');
  variable_del('taxonomy_image_width');
  variable_del('taxonomy_image_imagecache_preset');
  variable_del('taxonomy_image_link_types');
  variable_del('taxonomy_image_link_title');
  variable_del('taxonomy_image_wrapper');
  variable_del('taxonomy_image_disable');
  variable_del('taxonomy_image_admin_preset');
  variable_del('taxonomy_image_block_imagecache_preset');
  variable_del('taxonomy_image_block_max_images');
  variable_del('taxonomy_image_block_max_size');
  variable_del('taxonomy_image_block_suppress');
  variable_del('taxonomy_image_block_title');
  variable_del('taxonomy_image_default');
  variable_del('taxonomy_image_node_preset');
  variable_del('taxonomy_image_node_show_name');
  variable_del('taxonomy_image_node_view');
  variable_del('taxonomy_image_node_view_link');
  variable_del('taxonomy_image_node_view_page');
  variable_del('taxonomy_image_node_view_teaser');
  variable_del('taxonomy_image_node_view_weight');
}