You are here

function hosting_site_post_hosting_delete_task in Hosting 5

Same name and namespace in other branches
  1. 6.2 site/hosting_site.drush.inc \hosting_site_post_hosting_delete_task()
  2. 7.4 site/hosting_site.drush.inc \hosting_site_post_hosting_delete_task()
  3. 7.3 site/hosting_site.drush.inc \hosting_site_post_hosting_delete_task()

implementation of hook_hosting_post_DELETE

File

site/hosting_site.drush.inc, line 94

Code

function hosting_site_post_hosting_delete_task($task, $data) {
  $task->ref->site_status = HOSTING_SITE_DELETED;
  $task->ref->no_verify = TRUE;
  node_save($task->ref);
}