From 5fcb3e490121fedb2146a3d0a14f26ed6b7502a5 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sun, 23 Jan 2022 20:08:33 +0100 Subject: [PATCH] Remove unused field --- src/Core/L10n.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Core/L10n.php b/src/Core/L10n.php index 40aa24732..8f6b093f2 100644 --- a/src/Core/L10n.php +++ b/src/Core/L10n.php @@ -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);