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