Apply Update::check() suggestions

This commit is contained in:
Philipp Holzer 2023-01-06 12:50:32 +01:00
parent baf3225916
commit 081dbae7c2
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

@ -36,9 +36,6 @@ $dice = $dice->addRule(Friendica\App\Mode::class, ['call' => [['determineRunMode
\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);
$a = \Friendica\DI::app();
\Friendica\DI::mode()->setExecutor(\Friendica\App\Mode::INDEX);