Apply Update::check() suggestions

This commit is contained in:
Philipp 2023-01-06 12:50:32 +01:00
parent baf3225916
commit 081dbae7c2
No known key found for this signature in database
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);