$followers = Contact::selectToArray(['id'], [
'uid' => $uid,
'rel' => [Contact::FOLLOWER, Contact::FRIEND],
- 'protocol' => Protocol::SUPPORT_PRIVATE,
+ 'network' => Protocol::SUPPORT_PRIVATE,
]);
foreach ($followers as $follower) {
$mutuals = Contact::selectToArray(['id'], [
'uid' => $uid,
'rel' => [Contact::FRIEND],
- 'protocol' => Protocol::SUPPORT_PRIVATE,
+ 'network' => Protocol::SUPPORT_PRIVATE,
]);
foreach ($mutuals as $mutual) {