function node_gallery_uninstall in Node Gallery 7
Same name and namespace in other branches
- 6.3 node_gallery.install \node_gallery_uninstall()
- 6 node_gallery.install \node_gallery_uninstall()
- 6.2 node_gallery.install \node_gallery_uninstall()
Implements hook_uninstall().
File
- ./
node_gallery.install, line 172 - Install, update and uninstall functions for the node_gallery module.
Code
function node_gallery_uninstall() {
$default_relationship_type_id = variable_get('node_gallery_default_relationship_type_id');
entity_delete('node_gallery_relationship_type', $default_relationship_type_id);
variable_del('node_gallery_default_relationship_type_id');
cache_clear_all();
}