function nodehierarchy_views_delete_node in Node Hierarchy 5
Same name and namespace in other branches
- 6.3 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_delete_node()
- 6 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_delete_node()
- 6.2 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_delete_node()
- 7.4 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_delete_node()
- 7.2 nodehierarchy_views/nodehierarchy_views.module \nodehierarchy_views_delete_node()
Delete the node_hierarchy_views row when a node is deleted.
1 call to nodehierarchy_views_delete_node()
- nodehierarchy_views_nodeapi in nodehierarchy_views/
nodehierarchy_views.module - Implementation of hook_nodeapi().
File
- nodehierarchy_views/
nodehierarchy_views.module, line 97 - Views.module integration for nodehierarchy.module.
Code
function nodehierarchy_views_delete_node($node) {
db_query('DELETE FROM {nodehierarchy_views} WHERE nid = %d', $node->nid);
}