]> git.mxchange.org Git - friendica.git/commitdiff
Replace last instance of local_user() used to guess authentication status in Module...
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 17 Oct 2019 13:32:46 +0000 (09:32 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 2 Nov 2019 16:48:04 +0000 (12:48 -0400)
src/Module/Contact/Hovercard.php

index d5cdb1e95cbe386455e0adbd7e68089ac046337b..20290e0acae8c5ca0ff558b19162a88fb71d8452 100644 (file)
@@ -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 = [];