diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-12-09 14:29:22 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-12-09 14:29:22 +0100 |
commit | 8f403b66d19011b1061430a9e82f1166c7bb7cd6 (patch) | |
tree | 1155ad6b521306b4e9d42b298f6ab806030b7c32 /apps/encryption/lib | |
parent | 8bc4295cfad1ba65bad3c7c06af1f4a16b9bcba5 (diff) | |
download | nextcloud-server-8f403b66d19011b1061430a9e82f1166c7bb7cd6.tar.gz nextcloud-server-8f403b66d19011b1061430a9e82f1166c7bb7cd6.zip |
Fix Argument 3 passed to OCA\Encryption\Recovery::__construct() must be an instance of OCA\Encryption\KeyManager
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/encryption/lib')
-rw-r--r-- | apps/encryption/lib/AppInfo/Application.php | 2 | ||||
-rw-r--r-- | apps/encryption/lib/Recovery.php | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/apps/encryption/lib/AppInfo/Application.php b/apps/encryption/lib/AppInfo/Application.php index 730b0afc0eb..6d7c00687e3 100644 --- a/apps/encryption/lib/AppInfo/Application.php +++ b/apps/encryption/lib/AppInfo/Application.php @@ -167,10 +167,8 @@ class Application extends \OCP\AppFramework\App { return new Recovery( $server->getUserSession(), $c->query('Crypt'), - $server->getSecureRandom(), $c->query('KeyManager'), $server->getConfig(), - $server->getEncryptionKeyStorage(), $server->getEncryptionFilesHelper(), new View()); }); diff --git a/apps/encryption/lib/Recovery.php b/apps/encryption/lib/Recovery.php index 8f50a3a5d28..d586d330237 100644 --- a/apps/encryption/lib/Recovery.php +++ b/apps/encryption/lib/Recovery.php @@ -30,12 +30,10 @@ namespace OCA\Encryption; use OC\Files\View; use OCA\Encryption\Crypto\Crypt; use OCP\Encryption\IFile; -use OCP\Encryption\Keys\IStorage; use OCP\IConfig; use OCP\IUser; use OCP\IUserSession; use OCP\PreConditionNotMetException; -use OCP\Security\ISecureRandom; class Recovery { |