Fix "Call to undefined method OCA\\WorkflowEngine\\Entity\\File::t()"

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-01-29 09:22:42 +01:00
parent 0585c76d16
commit bbc9381358
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

View File

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