function image_gallery_uninstall in Image 7
Same name and namespace in other branches
- 5.2 contrib/image_gallery/image_gallery.install \image_gallery_uninstall()
- 5 contrib/image_gallery/image_gallery.install \image_gallery_uninstall()
- 6 contrib/image_gallery/image_gallery.install \image_gallery_uninstall()
Implementation of hook_uninstall().
File
- contrib/
image_gallery/ image_gallery.install, line 43
Code
function image_gallery_uninstall() {
if ($vid = variable_get('image_gallery_nav_vocabulary', FALSE)) {
module_invoke('taxonomy', 'del_vocabulary', $vid);
}
variable_del('image_images_per_page');
variable_del('image_gallery_nav_vocabulary');
variable_del('image_gallery_node_info');
variable_del('image_gallery_sort_order');
}