mirror of
https://github.com/friendica/friendica
synced 2025-01-08 02:44:43 +00:00
Refactor setup Container for addons
This commit is contained in:
parent
c5d7f26a8c
commit
8edca631e6
1 changed files with 1 additions and 3 deletions
|
@ -436,9 +436,7 @@ class App
|
|||
|
||||
public function processWorker(array $options): void
|
||||
{
|
||||
/** @var \Friendica\Core\Addon\Capability\ICanLoadAddons $addonLoader */
|
||||
$addonLoader = $this->container->create(\Friendica\Core\Addon\Capability\ICanLoadAddons::class);
|
||||
$this->container = $this->container->addRules($addonLoader->getActiveAddonConfig('dependencies'));
|
||||
$this->setupContainerForAddons();
|
||||
|
||||
$this->container = $this->container->addRule(LoggerInterface::class, ['constructParams' => [LogChannel::WORKER]]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue