You are here

function hosting_nodeapi_task_delete_revision in Hostmaster (Aegir) 6

Implementation of hook_delete_revision()

File

modules/hosting/task/hosting_task.module, line 615
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);
  db_query('DELETE FROM {hosting_task_log} WHERE vid = %d', $node->vid);
}