old boot.php functions replaced in /src
This commit is contained in:
committed by
Hypolite Petovan
parent
7fc37832f7
commit
ee1acba9eb
@@ -70,7 +70,7 @@ class Search
|
||||
return $emptyResultList;
|
||||
}
|
||||
|
||||
$contactDetails = Contact::getByURLForUser($user_data['url'] ?? '', local_user());
|
||||
$contactDetails = Contact::getByURLForUser($user_data['url'] ?? '', Session::getLocalUser());
|
||||
|
||||
$result = new ContactResult(
|
||||
$user_data['name'] ?? '',
|
||||
@@ -136,7 +136,7 @@ class Search
|
||||
|
||||
foreach ($profiles as $profile) {
|
||||
$profile_url = $profile['profile_url'] ?? '';
|
||||
$contactDetails = Contact::getByURLForUser($profile_url, local_user());
|
||||
$contactDetails = Contact::getByURLForUser($profile_url, Session::getLocalUser());
|
||||
|
||||
$result = new ContactResult(
|
||||
$profile['name'] ?? '',
|
||||
|
||||
Reference in New Issue
Block a user