mirror of
https://github.com/friendica/friendica
synced 2025-01-08 21:24:43 +00:00
rename App::setupLegacyServiceLocator()
This commit is contained in:
parent
e59dd9d9d4
commit
2ed1b969fb
1 changed files with 3 additions and 3 deletions
|
@ -131,7 +131,7 @@ class App
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->setupLegacyServerLocator();
|
$this->setupLegacyServiceLocator();
|
||||||
|
|
||||||
$this->registerErrorHandler();
|
$this->registerErrorHandler();
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ class App
|
||||||
'constructParams' => [LogChannel::AUTH_JABBERED],
|
'constructParams' => [LogChannel::AUTH_JABBERED],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->setupLegacyServerLocator();
|
$this->setupLegacyServiceLocator();
|
||||||
|
|
||||||
$this->registerErrorHandler();
|
$this->registerErrorHandler();
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@ class App
|
||||||
$this->container = $this->container->addRules($addonLoader->getActiveAddonConfig('dependencies'));
|
$this->container = $this->container->addRules($addonLoader->getActiveAddonConfig('dependencies'));
|
||||||
}
|
}
|
||||||
|
|
||||||
private function setupLegacyServerLocator(): void
|
private function setupLegacyServiceLocator(): void
|
||||||
{
|
{
|
||||||
\Friendica\DI::init($this->container);
|
\Friendica\DI::init($this->container);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue