mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:50:15 +00:00
Move another function
move get_plink to Item class, and also fix up getApp since we extend BaseObject
This commit is contained in:
parent
e537f7d017
commit
7cb9138201
4 changed files with 39 additions and 40 deletions
|
@ -392,7 +392,7 @@ class Post extends BaseObject
|
|||
'owner_url' => $this->getOwnerUrl(),
|
||||
'owner_photo' => $a->removeBaseURL(ProxyUtils::proxifyUrl($item['owner-avatar'], false, ProxyUtils::SIZE_THUMB)),
|
||||
'owner_name' => htmlentities($owner_name_e),
|
||||
'plink' => get_plink($item),
|
||||
'plink' => Item::getPlink($item),
|
||||
'edpost' => Feature::isEnabled($conv->getProfileOwner(), 'edit_posts') ? $edpost : '',
|
||||
'isstarred' => $isstarred,
|
||||
'star' => Feature::isEnabled($conv->getProfileOwner(), 'star_posts') ? $star : '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue