You are here

function hosting_site_hosting_verify_task_rollback in Hostmaster (Aegir) 6

Implementation of the hosting_failed_install hook

File

modules/hosting/site/hosting_site.drush.inc, line 216

Code

function hosting_site_hosting_verify_task_rollback($task, $data) {
  if ($task->ref->type == 'site') {
    $task->ref->no_verify = TRUE;
    $task->ref->verified = 0;
    node_save($task->ref);
  }
}