You are here

function hosting_site_post_hosting_enable_task in Hosting 5

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

implementation of hook_hosting_post_enable

File

site/hosting_site.drush.inc, line 85

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);
}