mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
chore: Refactor Installer's constructor signature.
This will provide connection data when running instead of building time (object wiring). Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -129,7 +129,7 @@ final class InstallController extends ControllerBase
|
||||
$installData->setHostingMode($this->request->analyzeBool('hostingmode', false));
|
||||
|
||||
try {
|
||||
$this->installer->run($installData);
|
||||
$this->installer->run(Installer::getDatabaseSetup($installData, $this->configData), $installData);
|
||||
|
||||
return $this->returnJsonResponse(
|
||||
JsonResponse::JSON_SUCCESS,
|
||||
|
||||
Reference in New Issue
Block a user