[ENTITY] Rename 'getFrom' to 'getBy'

This commit is contained in:
2021-12-04 19:58:00 +00:00
parent c40866ecf6
commit e29e1cc87c
15 changed files with 110 additions and 96 deletions

View File

@@ -91,7 +91,7 @@ class Repeat extends Controller
actor: Actor::getById($actor_id),
content: $note->getContent(),
content_type: $note->getContentType(),
language: Language::getFromId($note->getLanguageId())->getLocale(),
language: Language::getById($note->getLanguageId())->getLocale(),
processed_attachments: $note->getAttachmentsWithTitle(),
);