You are here

function hosting_site_update_6009 in Hostmaster (Aegir) 6

Force a re-verification of all enabled sites, to re-generate their Apache virtualhost configurations to use correct handlers in the 'files' or 'private' subdirectories

File

modules/hosting/site/hosting_site.install, line 277

Code

function hosting_site_update_6009() {
  $result = db_query("SELECT nid FROM {hosting_site} WHERE status=1");
  while ($site = db_fetch_object($result)) {
    hosting_add_task($site->nid, 'verify');
  }
  return $ret;
}