function names changed

This commit is contained in:
Michael 2020-05-01 06:01:22 +00:00
parent 6d4962a571
commit 3b2ae5c4a9
6 changed files with 10 additions and 10 deletions

View file

@ -390,7 +390,7 @@ class Post
$buttons["like"] = false;
}
$tags = Tag::populateTagsFromItem($item);
$tags = Tag::populateFromItem($item);
$ago = Temporal::getRelativeDate($item['created']);
$ago_received = Temporal::getRelativeDate($item['received']);
@ -872,7 +872,7 @@ class Post
$text = '';
}
$terms = Tag::ArrayFromURIId($item['uri-id'], [Tag::MENTION, Tag::IMPLICIT_MENTION, Tag::EXCLUSIVE_MENTION]);
$terms = Tag::getByURIId($item['uri-id'], [Tag::MENTION, Tag::IMPLICIT_MENTION, Tag::EXCLUSIVE_MENTION]);
foreach ($terms as $term) {
$profile = Contact::getDetailsByURL($term['url']);
if (!empty($profile['addr']) && ((($profile['contact-type'] ?? '') ?: Contact::TYPE_UNKNOWN) != Contact::TYPE_COMMUNITY) &&