]> git.mxchange.org Git - friendica.git/commitdiff
Refactor r init service locator
authorArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 19:12:32 +0000 (19:12 +0000)
committerArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 19:12:32 +0000 (19:12 +0000)
src/App.php

index 51134c05e7e5494286579094daafa1e2773dc2a7..f5c0240f2693cb2eae5a970ab76b120f3e19818d 100644 (file)
@@ -440,7 +440,8 @@ class App
 
                $this->setupContainerForLogger(LogChannel::WORKER);
 
-               DI::init($this->container);
+               $this->setupLegacyServiceLocator();
+
                \Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(\Psr\Log\LoggerInterface::class));
 
                DI::mode()->setExecutor(Mode::WORKER);