function image_gallery_uninstall in Image 5.2
Same name and namespace in other branches
- 5 contrib/image_gallery/image_gallery.install \image_gallery_uninstall()
- 6 contrib/image_gallery/image_gallery.install \image_gallery_uninstall()
- 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)) {
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');
}