You are here

function hosting_task_delete in Hostmaster (Aegir) 6

Implementation of hook_delete().

File

modules/hosting/task/hosting_task.module, line 624
Web server node type is defined here.

Code

function hosting_task_delete($node) {
  db_query('DELETE FROM {hosting_task} WHERE nid = %d', $node->nid);
  db_query('DELETE FROM {hosting_task_arguments} WHERE nid = %d', $node->nid);
  db_query('DELETE FROM {hosting_task_log} WHERE nid = %d', $node->nid);
}