aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/DependencyInjection
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-26 15:32:17 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-02-26 17:00:29 +0100
commitcf35c4b03ab7bd73cc5e9a26d88a0c61731d4b6e (patch)
tree86862b1127934c6c6261b9cd248eaafcf355bf4c /lib/private/AppFramework/DependencyInjection
parent98baf8915dcaba69266820066cb49abbcc43e624 (diff)
downloadnextcloud-server-cf35c4b03ab7bd73cc5e9a26d88a0c61731d4b6e.tar.gz
nextcloud-server-cf35c4b03ab7bd73cc5e9a26d88a0c61731d4b6e.zip
Provide translated error message for permission error
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/AppFramework/DependencyInjection')
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index 44c268bdea6..4dcb94a1d33 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -219,7 +219,8 @@ class DIContainer extends SimpleContainer implements IAppContainer {
$server->getContentSecurityPolicyManager(),
$server->getCsrfTokenManager(),
$server->getContentSecurityPolicyNonceManager(),
- $server->getAppManager()
+ $server->getAppManager(),
+ $server->getL10N('lib')
);
});