Remove $ssl_state variable
authorPhilipp <admin@philipp.info>
Sun, 19 Feb 2023 11:25:24 +0000 (12:25 +0100)
committerPhilipp <admin@philipp.info>
Sun, 19 Feb 2023 11:25:24 +0000 (12:25 +0100)
src/Content/Conversation.php
src/Content/Nav.php

index 4dd52eb..8107759 100644 (file)
@@ -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();
index 55d9b3d..470882b 100644 (file)
@@ -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.