Apply Update::check() suggestions
This commit is contained in:
parent
baf3225916
commit
081dbae7c2
|
@ -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));
|
\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();
|
$a = \Friendica\DI::app();
|
||||||
|
|
||||||
\Friendica\DI::mode()->setExecutor(\Friendica\App\Mode::INDEX);
|
\Friendica\DI::mode()->setExecutor(\Friendica\App\Mode::INDEX);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user