Merge pull request #19190 from nextcloud/backport/19186/stable18

[stable18] Fix "Call to undefined method OCA\\WorkflowEngine\\Entity\\File::t()"
This commit is contained in:
blizzz 2020-01-29 14:02:18 +01:00 committed by GitHub
commit 1050cc2322
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,7 +172,7 @@ class File implements IEntity, IDisplayText, IUrl {
}
$options = [
$user ? $user->getDisplayName() : $this->t('Someone'),
$user ? $user->getDisplayName() : $this->l10n->t('Someone'),
$node->getName()
];