diff options
author | Joas Schilling <coding@schilljs.com> | 2017-05-10 09:44:28 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-05-10 09:45:11 +0200 |
commit | ca399406146d74f2f46f8b8815f0b3c165c996ab (patch) | |
tree | 2a1c5ffd705698c04f8cef433e64b4416690af18 /lib/private/Security | |
parent | a8bb4a18988534323d872b13a9895a2c9557b6c5 (diff) | |
download | nextcloud-server-ca399406146d74f2f46f8b8815f0b3c165c996ab.tar.gz nextcloud-server-ca399406146d74f2f46f8b8815f0b3c165c996ab.zip |
Automatic creation of Identity manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Security')
-rw-r--r-- | lib/private/Security/IdentityProof/Manager.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/private/Security/IdentityProof/Manager.php b/lib/private/Security/IdentityProof/Manager.php index d2a9e57e338..73edac5f747 100644 --- a/lib/private/Security/IdentityProof/Manager.php +++ b/lib/private/Security/IdentityProof/Manager.php @@ -21,6 +21,7 @@ namespace OC\Security\IdentityProof; +use OC\Files\AppData\Factory; use OCP\Files\IAppData; use OCP\IUser; use OCP\Security\ICrypto; @@ -32,12 +33,12 @@ class Manager { private $crypto; /** - * @param IAppData $appData + * @param Factory $appDataFactory * @param ICrypto $crypto */ - public function __construct(IAppData $appData, + public function __construct(Factory $appDataFactory, ICrypto $crypto) { - $this->appData = $appData; + $this->appData = $appDataFactory->get('identityproof'); $this->crypto = $crypto; } |