aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-01-29 09:22:42 +0100
committerJoas Schilling <coding@schilljs.com>2020-01-29 09:22:42 +0100
commitbbc9381358298d20e07e2cc0555533bcd65792da (patch)
tree656edade9089187c74b920b8a3290f2a43343a8f /apps/workflowengine/lib
parent0585c76d1682f89bce154a181b5d7c5d40ed8f70 (diff)
downloadnextcloud-server-bbc9381358298d20e07e2cc0555533bcd65792da.tar.gz
nextcloud-server-bbc9381358298d20e07e2cc0555533bcd65792da.zip
Fix "Call to undefined method OCA\\WorkflowEngine\\Entity\\File::t()"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/workflowengine/lib')
-rw-r--r--apps/workflowengine/lib/Entity/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Entity/File.php b/apps/workflowengine/lib/Entity/File.php
index e849ddce7f4..84e750815b6 100644
--- a/apps/workflowengine/lib/Entity/File.php
+++ b/apps/workflowengine/lib/Entity/File.php
@@ -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()
];