function hosting_nodeapi_task_delete_revision in Hosting 5
Same name and namespace in other branches
- 6.2 task/hosting_task.module \hosting_nodeapi_task_delete_revision()
- 7.4 task/hosting_task.module \hosting_nodeapi_task_delete_revision()
- 7.3 task/hosting_task.module \hosting_nodeapi_task_delete_revision()
File
- task/
hosting_task.module, line 241 - Web server node type is defined here.
Code
function hosting_nodeapi_task_delete_revision(&$node) {
db_query('DELETE FROM {hosting_task} WHERE vid = %d', $node->vid);
db_query('DELETE FROM {hosting_task_arguments} WHERE vid = %d', $node->vid);
}