N°2013 Setup : fix crash on compilation if initial DB info were wrong

Use case :
- having in the iTop config file wrong DB parameters (unreachable server for example)
- launch the setup in update mode
- fix the DB config in the wizard

The PR #351 solved the errors that were happening in the following steps.
But we still had an error during compilation, caused by the maintenance mode activation.
This commit is contained in:
Pierre Goiffon
2023-01-09 16:11:27 +01:00
parent cf4616d9a1
commit 15d3201a40
2 changed files with 22 additions and 3 deletions

View File

@@ -2473,6 +2473,8 @@ class Config
* @param string|null $sModulesDir
* @param bool $bPreserveModuleSettings
*
* @return void
*
* @throws \Exception
* @throws \CoreException
*/