You are here

function hosting_task_delete in Hosting 6.2

Same name and namespace in other branches
  1. 5 task/hosting_task.module \hosting_task_delete()
  2. 7.4 task/hosting_task.module \hosting_task_delete()
  3. 7.3 task/hosting_task.module \hosting_task_delete()

Implementation of hook_delete().

File

task/hosting_task.module, line 655
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);
}