mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
Use the new relation functions
This commit is contained in:
parent
879c30d4fa
commit
ee1cb93f3a
3 changed files with 3 additions and 33 deletions
|
@ -901,7 +901,7 @@ class Contact extends BaseModule
|
|||
];
|
||||
|
||||
// Show this tab only if there is visible friend list
|
||||
$x = Model\Contact::countContactsOfContact($pcid);
|
||||
$x = Model\Contact\Relation::countFollows($pcid);
|
||||
if ($x) {
|
||||
$tabs[] = ['label' => DI::l10n()->t('Contacts'),
|
||||
'url' => "allfriends/" . $pcid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue