From: Hypolite Petovan Date: Thu, 17 Oct 2019 13:32:46 +0000 (-0400) Subject: Replace last instance of local_user() used to guess authentication status in Module... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=50a2e7001edef41e66f18dd3cfe979103ee004b0;p=friendica.git Replace last instance of local_user() used to guess authentication status in Module/Contact/Hovercard --- diff --git a/src/Module/Contact/Hovercard.php b/src/Module/Contact/Hovercard.php index d5cdb1e95c..20290e0aca 100644 --- a/src/Module/Contact/Hovercard.php +++ b/src/Module/Contact/Hovercard.php @@ -71,7 +71,7 @@ class Hovercard extends BaseModule } // Get the photo_menu - the menu if possible contact actions - if (local_user()) { + if (Session::isAuthenticated()) { $actions = Contact::photoMenu($contact); } else { $actions = [];