function hosting_server_post_hosting_verify_task in Hosting 6.2
Same name and namespace in other branches
- 7.4 server/hosting_server.drush.inc \hosting_server_post_hosting_verify_task()
- 7.3 server/hosting_server.drush.inc \hosting_server_post_hosting_verify_task()
Resave the target node to trigger reverifications.
File
- server/
hosting_server.drush.inc, line 53
Code
function hosting_server_post_hosting_verify_task($task, $data) {
$task->ref->no_verify = TRUE;
node_save($task->ref);
// Verify the platforms on this server
$query = db_query("SELECT nid FROM {hosting_platform} WHERE status <> %d AND web_server = %d", HOSTING_PLATFORM_DELETED, $task->ref->nid);
while ($nid = db_fetch_object($query)) {
hosting_add_task($nid->nid, 'verify');
}
}