Fix "Call to undefined method OCA\\WorkflowEngine\\Entity\\File::t()"
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
0585c76d16
commit
bbc9381358
|
@ -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()
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue