mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
port to 4.1 PHRAS-1868 database mount
This commit is contained in:
@@ -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', [
|
||||||
|
Reference in New Issue
Block a user