]> git.mxchange.org Git - friendica.git/commitdiff
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 4dd52ebff5851ff4296ae09c4c8153955d4d4323..8107759534c37250cf793995aeddb8930c5f25e1 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 55d9b3d51b54ec95bc26f49ec63d0344bb69d91f..470882b0757db3a83dce55f9f90bc46075b6ccbc 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.