1
0
Fork 0

Apply Update::check() suggestions

This commit is contained in:
Philipp Holzer 2023-01-06 12:50:14 +01:00
commit baf3225916
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
6 changed files with 5 additions and 9 deletions

View file

@ -62,7 +62,7 @@ DI::init($dice);
DI::mode()->setExecutor(Mode::WORKER);
// Check the database structure and possibly fixes it
Update::check(DI::basePath(), true, DI::mode());
Update::check(DI::basePath(), true);
// Quit when in maintenance
if (!DI::mode()->has(App\Mode::MAINTENANCEDISABLED)) {