From cb106f40caa2cea43abec6fdc440848b21258359 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sun, 19 Feb 2023 12:25:24 +0100 Subject: [PATCH] Remove $ssl_state variable --- src/Content/Conversation.php | 2 -- src/Content/Nav.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/Content/Conversation.php b/src/Content/Conversation.php index 4dd52ebff5..8107759534 100644 --- a/src/Content/Conversation.php +++ b/src/Content/Conversation.php @@ -446,8 +446,6 @@ class Conversation $this->page->registerStylesheet(Theme::getPathForFile('js/friendica-tagsinput/friendica-tagsinput.css')); $this->page->registerStylesheet(Theme::getPathForFile('js/friendica-tagsinput/friendica-tagsinput-typeahead.css')); - $ssl_state = (bool)$this->session->getLocalUserId(); - $live_update_div = ''; $blocklist = $this->getBlocklist(); diff --git a/src/Content/Nav.php b/src/Content/Nav.php index 55d9b3d51b..470882b075 100644 --- a/src/Content/Nav.php +++ b/src/Content/Nav.php @@ -184,8 +184,6 @@ class Nav */ private function getInfo(): array { - $ssl_state = (bool) $this->session->getLocalUserId(); - /* * Our network is distributed, and as you visit friends some * sites look exactly the same - it isn't always easy to know where you are. -- 2.39.5