]> git.mxchange.org Git - friendica.git/commitdiff
simplify class names
authorArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 10:13:04 +0000 (10:13 +0000)
committerArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 10:13:04 +0000 (10:13 +0000)
src/App.php

index 7a8acd39c1788daadc6e362e83d0b37b3d77e50b..19376d4a19cc0801a6907220e6fcb5b0fc2074dc 100644 (file)
@@ -190,7 +190,7 @@ class App
                $this->registerErrorHandler();
 
                // Check the database structure and possibly fixes it
-               \Friendica\Core\Update::check(\Friendica\DI::basePath(), true);
+               Update::check(DI::basePath(), true);
 
                $appMode = $this->container->create(Mode::class);
 
@@ -224,7 +224,7 @@ class App
                $this->container = $this->container->addRule(LoggerInterface::class, ['constructParams' => [Logger\Capability\LogChannel::DAEMON]]);
 
                DI::init($this->container);
-               \Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(\Psr\Log\LoggerInterface::class));
+               \Friendica\Core\Logger\Handler\ErrorHandler::register($this->container->create(LoggerInterface::class));
 
                if (DI::mode()->isInstall()) {
                        die("Friendica isn't properly installed yet.\n");
@@ -433,7 +433,7 @@ class App
 
        private function setupLegacyServerLocator(): void
        {
-               \Friendica\DI::init($this->container);
+               DI::init($this->container);
        }
 
        private function registerErrorHandler(): void