function hosting_site_post_hosting_enable_task in Hosting 7.3
Same name and namespace in other branches
- 5 site/hosting_site.drush.inc \hosting_site_post_hosting_enable_task()
- 6.2 site/hosting_site.drush.inc \hosting_site_post_hosting_enable_task()
- 7.4 site/hosting_site.drush.inc \hosting_site_post_hosting_enable_task()
Implements hook_hosting_post_enable().
File
- site/
hosting_site.drush.inc, line 185 - Drush hooks for the Hosting site module.
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);
}