summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/DependencyInjection
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-10 17:31:05 -0500
committerGitHub <noreply@github.com>2017-05-10 17:31:05 -0500
commit167013dbf9e7de63e702854a9e770f73fca016f5 (patch)
treea740faf531c6eb31daeaf221657c4d9aeb67e919 /lib/private/AppFramework/DependencyInjection
parent1c2ccd220611a3c269c8122dcab8a3a6251053ef (diff)
parent538d32fe8734f563f3116c473f770bd4277c925b (diff)
downloadnextcloud-server-167013dbf9e7de63e702854a9e770f73fca016f5.tar.gz
nextcloud-server-167013dbf9e7de63e702854a9e770f73fca016f5.zip
Merge pull request #4783 from nextcloud/lite-application-classes
Use automatic injection for appdata folders
Diffstat (limited to 'lib/private/AppFramework/DependencyInjection')
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index 04747485c13..d24836228cc 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -165,7 +165,7 @@ class DIContainer extends SimpleContainer implements IAppContainer {
$this->registerService(\OC\Security\IdentityProof\Manager::class, function ($c) {
return new \OC\Security\IdentityProof\Manager(
- $this->getServer()->getAppDataDir('identityproof'),
+ $this->getServer()->query(\OC\Files\AppData\Factory::class),
$this->getServer()->getCrypto()
);
});