You are here

function hosting_nodeapi_task_delete_revision in Hosting 5

Same name and namespace in other branches
  1. 6.2 task/hosting_task.module \hosting_nodeapi_task_delete_revision()
  2. 7.4 task/hosting_task.module \hosting_nodeapi_task_delete_revision()
  3. 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);
}