summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-02-10 16:00:47 -0600
committerGitHub <noreply@github.com>2017-02-10 16:00:47 -0600
commitdfaaebd76551b81da7bc59ed75b4514be2e10dac (patch)
treee6429cce1ad9f174893cf68c3cb3eec5dff95205 /lib/private/AppFramework
parentabf0606054c2f17b8afe90994fd39f67ff959c6f (diff)
parentefdc51c155c71ca65ba3f41f36a8a6961480b7e6 (diff)
downloadnextcloud-server-dfaaebd76551b81da7bc59ed75b4514be2e10dac.tar.gz
nextcloud-server-dfaaebd76551b81da7bc59ed75b4514be2e10dac.zip
Merge pull request #3417 from nextcloud/push-notification
Push notification
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index 0879b3e9330..5a350bbec5a 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -342,6 +342,13 @@ class DIContainer extends SimpleContainer implements IAppContainer {
return $c->query(Validator::class);
});
+ $this->registerService(\OC\Security\IdentityProof\Manager::class, function ($c) {
+ return new \OC\Security\IdentityProof\Manager(
+ $this->getServer()->getAppDataDir('identityproof'),
+ $this->getServer()->getCrypto()
+ );
+ });
+
/**
* App Framework APIs