From: Roland Häder Date: Wed, 18 Oct 2023 17:48:27 +0000 (+0200) Subject: Ops, double/redundant code! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ba6a8703d833a76be3ca101777afbf557c107ae0;p=friendica.git Ops, double/redundant code! --- diff --git a/src/Module/Conversation/Network.php b/src/Module/Conversation/Network.php index 3093ec7649..d0dca7b70d 100644 --- a/src/Module/Conversation/Network.php +++ b/src/Module/Conversation/Network.php @@ -118,33 +118,6 @@ class Network extends Timeline $this->userDefinedChannel = $userDefinedChannel; } - /** @var ICanCache */ - protected $cache; - /** @var IManageConfigValues The config */ - protected $config; - /** @var SystemMessages */ - protected $systemMessages; - /** @var App\Page */ - protected $page; - /** @var Conversation */ - protected $conversation; - /** @var IManagePersonalConfigValues */ - protected $pConfig; - /** @var Database */ - protected $database; - /** @var TimelineFactory */ - protected $timeline; - - public function __construct(TimelineFactory $timeline, SystemMessages $systemMessages, Mode $mode, Conversation $conversation, App\Page $page, IHandleUserSessions $session, Database $database, IManagePersonalConfigValues $pConfig, IManageConfigValues $config, ICanCache $cache, L10n $l10n, App\BaseURL $baseUrl, App\Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, array $server, array $parameters = []) - { - parent::__construct($mode, $session, $database, $pConfig, $config, $cache, $l10n, $baseUrl, $args, $logger, $profiler, $response, $server, $parameters); - - $this->timeline = $timeline; - $this->systemMessages = $systemMessages; - $this->conversation = $conversation; - $this->page = $page; - } - protected function content(array $request = []): string { if (!$this->session->getLocalUserId()) {