]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/theme.php
Link to displayed contact URL no matter the "Stay local" setting value
[friendica.git] / view / theme / vier / theme.php
index d28c8a325a278c364f17f935454cf7df6ca8b7c9..c1562983812416cab64d99939fbf78051582ee94 100644 (file)
@@ -27,7 +27,7 @@ function vier_init(App $a)
 
        $args = DI::args();
 
-       if ($args->get(0) === 'profile' && $args->get(1) === ($a->user['nickname'] ?? '') || $args->get(0) === 'network' && local_user()
+       if ($args->get(0) === 'profile' && $args->get(1) === ($a->getLoggedInUserNickname() ?? '') || $args->get(0) === 'network' && local_user()
        ) {
                vier_community_info();
 
@@ -285,7 +285,7 @@ function vier_community_info()
                        $r[] = ["photo" => "images/wordpress.png", "name" => "Wordpress"];
                }
 
-               if (function_exists("imap_open") && !DI::config()->get("system", "imap_disabled") && !DI::config()->get("system", "dfrn_only")) {
+               if (function_exists("imap_open") && !DI::config()->get("system", "imap_disabled")) {
                        $r[] = ["photo" => "images/mail.png", "name" => "E-Mail"];
                }