mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Rework commonFriendsVisitor widget
- Use new Contact\Relation method to fetch common contacts - Replace reference to /common by /{nickname}/contacts/common
This commit is contained in:
parent
71db6ab613
commit
c26b72a426
3 changed files with 38 additions and 64 deletions
|
@ -108,7 +108,7 @@ class Status extends BaseProfile
|
|||
|
||||
$o .= self::getTabsHTML($a, 'status', $is_owner, $a->profile['nickname']);
|
||||
|
||||
$o .= Widget::commonFriendsVisitor($a->profile['uid']);
|
||||
$o .= Widget::commonFriendsVisitor($a->profile['uid'], $a->profile['nickname']);
|
||||
|
||||
$commpage = $a->profile['page-flags'] == User::PAGE_FLAGS_COMMUNITY;
|
||||
$commvisitor = $commpage && $remote_contact;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue