function sheetnode_node_revision_delete in Sheetnode 7
Same name and namespace in other branches
- 7.2 sheetnode.module \sheetnode_node_revision_delete()
Implements hook_node_revision_delete().
File
- ./
sheetnode.module, line 133 - Module file for the sheetnode module.
Code
function sheetnode_node_revision_delete($node) {
if ($node->type == 'sheetnode') {
db_delete('sheetnode')
->condition('vid', $node->vid)
->execute();
}
}