You are here

function hosting_site_post_hosting_enable_task in Hostmaster (Aegir) 6

implementation of hook_hosting_post_enable

File

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

Code

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