* [FIX] Wrong behavior when accessing through API. Maintenance mode was wrongly checked. Thanks to @pierrehenrymuller for the feedback. Closes #1108

* [MOD] Updated displayed strings for custom fields type.

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
nuxsmin
2018-11-19 00:16:32 +01:00
parent 57260871d6
commit afdfa80d8f
6 changed files with 42 additions and 12 deletions

View File

@@ -95,7 +95,7 @@ final class Init extends ModuleBase
$this->checkInstalled();
// Checks if maintenance mode is turned on
if (!$this->checkMaintenanceMode($this->context)) {
if ($this->checkMaintenanceMode($this->context)) {
throw new InitializationException('Maintenance mode');
}