Merge pull request #2801 from aynsix/PHRAS-1864-port-41-1868-admin-mount-database

PHRAS-1864 port to 4.1 PHRAS-1868 database mount
This commit is contained in:
Nicolas Maillat
2018-11-06 09:32:31 +00:00
committed by GitHub

View File

@@ -160,6 +160,9 @@ class DataboxesController extends Controller
try { try {
$connectionSettings = $this->buildSettingsFromRequest($request); $connectionSettings = $this->buildSettingsFromRequest($request);
\phrasea::clear_sbas_params($this->app);
$databox = $databoxService->mountDatabox($dbName, $this->app->getAuthenticatedUser(), $connectionSettings); $databox = $databoxService->mountDatabox($dbName, $this->app->getAuthenticatedUser(), $connectionSettings);
return $this->app->redirectPath('admin_database', [ return $this->app->redirectPath('admin_database', [