1
1
Fork 0

Move another function

move get_plink to Item class, and also fix up getApp since we extend BaseObject
This commit is contained in:
Adam Magness 2018-11-07 07:19:39 -05:00
commit 7cb9138201
4 changed files with 39 additions and 40 deletions

View file

@ -689,7 +689,7 @@ function conversation(App $a, array $items, Pager $pager, $mode, $update, $previ
'owner_name' => $owner_name_e,
'owner_url' => $owner_url,
'owner_photo' => System::removedBaseUrl(ProxyUtils::proxifyUrl($item['owner-avatar'], false, ProxyUtils::SIZE_THUMB)),
'plink' => get_plink($item),
'plink' => Item::getPlink($item),
'edpost' => false,
'isstarred' => $isstarred,
'star' => $star,