mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 11:54:31 +02:00
Inline App::load() call in new processRequest() method
This commit is contained in:
parent
40fa8559e5
commit
7a7b8d3e27
2 changed files with 9 additions and 4 deletions
|
@ -29,10 +29,7 @@ $dice = $dice->addRule(Friendica\App\Mode::class, ['call' => [['determineRunMode
|
|||
|
||||
$a = \Friendica\App::fromDice($dice);
|
||||
|
||||
$a->load(
|
||||
$dice->create(\Friendica\Database\Definition\DbaDefinition::class),
|
||||
$dice->create(\Friendica\Database\Definition\ViewDefinition::class),
|
||||
);
|
||||
$a->processRequest();
|
||||
|
||||
\Friendica\DI::mode()->setExecutor(\Friendica\App\Mode::INDEX);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue