You are here

function hosting_site_post_hosting_import_task in Hostmaster (Aegir) 6

File

modules/hosting/site/hosting_site.drush.inc, line 186

Code

function hosting_site_post_hosting_import_task($task, $data) {
  hosting_import_site($task->ref->nid, $data['context'], $task->ref->platform);
  $context = $data['context'];
  $packages = $context['packages'];
  hosting_package_sync($packages);
  hosting_package_instance_sync($task->ref->nid, $packages);
}