You are here

function _hosting_migrate_site_list_class in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 migrate/hosting_migrate.batch.inc \_hosting_migrate_site_list_class()
  2. 7.4 migrate/hosting_migrate.batch.inc \_hosting_migrate_site_list_class()
1 call to _hosting_migrate_site_list_class()
hosting_migrate_platform in migrate/hosting_migrate.batch.inc
Batch migration of sites between platforms.

File

migrate/hosting_migrate.batch.inc, line 126
Implemented batch migration of sites.

Code

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