Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-01-29 11:22:42 +0300
committerJoas Schilling <coding@schilljs.com>2020-01-29 11:22:42 +0300
commitbbc9381358298d20e07e2cc0555533bcd65792da (patch)
tree656edade9089187c74b920b8a3290f2a43343a8f /apps
parent0585c76d1682f89bce154a181b5d7c5d40ed8f70 (diff)
Fix "Call to undefined method OCA\\WorkflowEngine\\Entity\\File::t()"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-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()
];