]> git.mxchange.org Git - friendica.git/commitdiff
Remove unused field
authorPhilipp <admin@philipp.info>
Sun, 23 Jan 2022 19:08:33 +0000 (20:08 +0100)
committerPhilipp <admin@philipp.info>
Sun, 23 Jan 2022 19:08:33 +0000 (20:08 +0100)
src/Core/L10n.php

index 40aa24732b4bee711e3e1a7fd95e8282464a083e..8f6b093f2d8cf3c561fc723d8030ce6619ec96fa 100644 (file)
@@ -25,7 +25,6 @@ use Friendica\Core\Config\Capability\IManageConfigValues;
 use Friendica\Core\Session\Capability\IHandleSessions;
 use Friendica\Database\Database;
 use Friendica\Util\Strings;
-use Psr\Log\LoggerInterface;
 
 /**
  * Provide Language, Translation, and Localization functions to the application
@@ -85,15 +84,9 @@ class L10n
         */
        private $dba;
 
-       /**
-        * @var LoggerInterface
-        */
-       private $logger;
-
-       public function __construct(IManageConfigValues $config, Database $dba, LoggerInterface $logger, IHandleSessions $session, array $server, array $get)
+       public function __construct(IManageConfigValues $config, Database $dba, IHandleSessions $session, array $server, array $get)
        {
                $this->dba    = $dba;
-               $this->logger = $logger;
 
                $this->loadTranslationTable(L10n::detectLanguage($server, $get, $config->get('system', 'language', self::DEFAULT)));
                $this->setSessionVariable($session);