You are here

function hosting_site_post_hosting_enable_task in Hosting 6.2

Same name and namespace in other branches
  1. 5 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 150

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