public function importSiteAction($packageKey)
{
try {
$this->siteImportService->importFromPackage($packageKey);
$this->addFlashMessage('The site has been imported.', '', null, array(), 1412372266);
} catch (\Exception $exception) {
$this->systemLogger->logException($exception);
$this->addFlashMessage('Error: During the import of the "Sites.xml" from the package "%s" an exception occurred: %s', 'Import error', Message::SEVERITY_ERROR, array(htmlspecialchars($packageKey), htmlspecialchars($exception->getMessage())), 1412372375);
}
$this->unsetLastVisitedNodeAndRedirect('index');
}