From e2c77e46ab9c12d1ba990ad1437065a48a1667d6 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 5 Jan 2018 13:58:28 +0100 Subject: Use correct L10N files for jsconfig Signed-off-by: Roeland Jago Douma --- lib/private/TemplateLayout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index dcc0fd3ba67..8a3a8e1e36b 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -143,7 +143,7 @@ class TemplateLayout extends \OC_Template { if ($this->config->getSystemValue('installed', false) && $renderAs != 'error') { if (\OC::$server->getContentSecurityPolicyNonceManager()->browserSupportsCspV3()) { $jsConfigHelper = new JSConfigHelper( - \OC::$server->getL10N('core'), + \OC::$server->getL10N('lib'), \OC::$server->query(Defaults::class), \OC::$server->getAppManager(), \OC::$server->getSession(), -- cgit v1.2.3