mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:50:10 +00:00
old boot.php functions replaced in src/module (3)
This commit is contained in:
parent
83390d4b00
commit
ae6d67ed1f
22 changed files with 158 additions and 147 deletions
|
@ -71,7 +71,7 @@ class Hovercard extends BaseModule
|
|||
// Search for contact data
|
||||
// Look if the local user has got the contact
|
||||
if (Session::isAuthenticated()) {
|
||||
$contact = Contact::getByURLForUser($contact_url, local_user());
|
||||
$contact = Contact::getByURLForUser($contact_url, Session::getLocalUser());
|
||||
} else {
|
||||
$contact = Contact::getByURL($contact_url, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue