function hosting_nodeapi_platform_delete_revision in Hosting 7.3
Same name and namespace in other branches
- 5 platform/hosting_platform.module \hosting_nodeapi_platform_delete_revision()
- 6.2 platform/hosting_platform.module \hosting_nodeapi_platform_delete_revision()
- 7.4 platform/hosting_platform.module \hosting_nodeapi_platform_delete_revision()
Implements hook_nodeapi_TYPE_OP().
File
- platform/
hosting_platform.module, line 582 - Platform node type definition.
Code
function hosting_nodeapi_platform_delete_revision(&$node) {
db_delete('hosting_platform')
->condition('vid', $node->vid)
->execute();
}