function taxonomy_image_uninstall in Taxonomy Image 5
Same name and namespace in other branches
- 6 taxonomy_image.install \taxonomy_image_uninstall()
Implementation of hook_uninstall().
File
- ./
taxonomy_image.install, line 155 - 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() {
db_query('DROP TABLE {term_image}');
db_query('DROP TABLE {cache_tax_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');
}