function hosting_site_update_2 in Hosting 6.2
Same name and namespace in other branches
- 5 site/hosting_site.install \hosting_site_update_2()
- 7.4 site/hosting_site.install \hosting_site_update_2()
- 7.3 site/hosting_site.install \hosting_site_update_2()
Retry all failed site installs, to evaluate where they might be successfully imported instead
File
- site/
hosting_site.install, line 136
Code
function hosting_site_update_2() {
include_once drupal_get_path('module', 'hosting_task') . '/hosting_task.module';
$ret = array();
$result = db_query("select n.nid from {node} n left join {hosting_task} t on n.vid = t.vid where t.task_type = 'install' and t.task_status > 1 and n.type='task'");
while ($obj = db_fetch_object($result)) {
hosting_task_retry($obj->nid);
}
return $ret;
}