mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:10:12 +00:00
Normalize Contact::magicLinkByContact method name
This commit is contained in:
parent
ae7115894f
commit
7320c5e8e8
3 changed files with 9 additions and 9 deletions
|
@ -83,7 +83,7 @@ class Post extends BaseObject
|
|||
$author = ['uid' => 0, 'id' => $this->getDataValue('author-id'),
|
||||
'network' => $this->getDataValue('author-network'),
|
||||
'url' => $this->getDataValue('author-link')];
|
||||
$this->redirect_url = Contact::magicLinkbyContact($author);
|
||||
$this->redirect_url = Contact::magicLinkByContact($author);
|
||||
if (!$this->isToplevel()) {
|
||||
$this->threaded = true;
|
||||
}
|
||||
|
@ -224,7 +224,7 @@ class Post extends BaseObject
|
|||
'network' => $item['author-network'], 'url' => $item['author-link']];
|
||||
|
||||
if (local_user() || remote_user()) {
|
||||
$profile_link = Contact::magicLinkbyContact($author);
|
||||
$profile_link = Contact::magicLinkByContact($author);
|
||||
} else {
|
||||
$profile_link = $item['author-link'];
|
||||
}
|
||||
|
@ -948,7 +948,7 @@ class Post extends BaseObject
|
|||
$owner = ['uid' => 0, 'id' => $this->getDataValue('owner-id'),
|
||||
'network' => $this->getDataValue('owner-network'),
|
||||
'url' => $this->getDataValue('owner-link')];
|
||||
$this->owner_url = Contact::magicLinkbyContact($owner);
|
||||
$this->owner_url = Contact::magicLinkByContact($owner);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue