X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FNav.php;h=470882b0757db3a83dce55f9f90bc46075b6ccbc;hb=ff80e46eb05554417d5fdef9ff5b14df1f10eb4a;hp=63eeede89fffbb58988b42670833068599bf247e;hpb=ec54b303c5fd25ff95e6a819db2693acc6218b40;p=friendica.git diff --git a/src/Content/Nav.php b/src/Content/Nav.php index 63eeede89f..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. @@ -194,7 +192,7 @@ class Nav $myident = !empty($this->session->getLocalUserNickname()) ? $this->session->getLocalUserNickname() . '@' : ''; - $sitelocation = $myident . substr($this->baseUrl->get($ssl_state), strpos($this->baseUrl->get($ssl_state), '//') + 2); + $sitelocation = $myident . substr($this->baseUrl, strpos($this->baseUrl, '//') + 2); $nav = [ 'admin' => null,