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

@ -84,7 +84,7 @@ $dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['auth_ejabb
\Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class));
// Check the database structure and possibly fixes it
\Friendica\Core\Update::check(\Friendica\DI::basePath(), true, \Friendica\DI::mode());
\Friendica\Core\Update::check(\Friendica\DI::basePath(), true);
$appMode = $dice->create(Mode::class);