You are here

function _hosting_migrate_site_list_class in Hostmaster (Aegir) 6

1 call to _hosting_migrate_site_list_class()
hosting_migrate_platform in modules/hosting/migrate/hosting_migrate.batch.inc
Batch migration of sites between platforms.

File

modules/hosting/migrate/hosting_migrate.batch.inc, line 114
Implemented batch migration of sites.

Code

function _hosting_migrate_site_list_class($status) {
  if ($status['error']) {
    return 'error';
  }
  if ($status['missing']) {
    return 'warning';
  }
  if ($status['upgrade']) {
    return 'success';
  }
  return 'queued';
}