You are here

function image_gallery_uninstall in Image 5

Same name and namespace in other branches
  1. 5.2 contrib/image_gallery/image_gallery.install \image_gallery_uninstall()
  2. 6 contrib/image_gallery/image_gallery.install \image_gallery_uninstall()
  3. 7 contrib/image_gallery/image_gallery.install \image_gallery_uninstall()

File

contrib/image_gallery/image_gallery.install, line 7

Code

function image_gallery_uninstall() {
  if ($vid = variable_get('image_gallery_nav_vocabulary', FALSE)) {
    taxonomy_del_vocabulary($vid);
  }
  variable_del('image_images_per_page');
  variable_del('image_gallery_nav_vocabulary');
  variable_del('image_gallery_node_info');
}