mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:40:16 +00:00
Apply Update::check() suggestions
This commit is contained in:
parent
baf3225916
commit
081dbae7c2
1 changed files with 0 additions and 3 deletions
|
@ -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 a new issue