mirror of
https://github.com/friendica/friendica
synced 2025-04-26 03:10:13 +00:00
"Contact\User" class created
This commit is contained in:
parent
afa9adda6e
commit
a7d75702cc
9 changed files with 330 additions and 299 deletions
|
@ -111,7 +111,7 @@ class Session
|
|||
|
||||
$remote_contacts = DBA::select('contact', ['id', 'uid'], ['nurl' => Strings::normaliseLink($session->get('my_url')), 'rel' => [Contact::FOLLOWER, Contact::FRIEND], 'self' => false]);
|
||||
while ($contact = DBA::fetch($remote_contacts)) {
|
||||
if (($contact['uid'] == 0) || Contact::isBlockedByUser($contact['id'], $contact['uid'])) {
|
||||
if (($contact['uid'] == 0) || Contact\User::isBlocked($contact['id'], $contact['uid'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue