diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-03-30 11:49:03 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-07 13:30:28 +0200 |
commit | a85e2e0bfdb86de029f7b5fde42ead60498aed82 (patch) | |
tree | dfd3ef5d49e3be52e533e2ecd95547f8a08f41ec /lib/private/encryption | |
parent | 4aa125cc0a2b5a129c4f97d807f7a225a7620199 (diff) | |
download | nextcloud-server-a85e2e0bfdb86de029f7b5fde42ead60498aed82.tar.gz nextcloud-server-a85e2e0bfdb86de029f7b5fde42ead60498aed82.zip |
make recovery settings work
Diffstat (limited to 'lib/private/encryption')
-rw-r--r-- | lib/private/encryption/manager.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/encryption/manager.php b/lib/private/encryption/manager.php index fa50d32218d..7cd49d1c0e2 100644 --- a/lib/private/encryption/manager.php +++ b/lib/private/encryption/manager.php @@ -66,12 +66,15 @@ class Manager implements \OCP\Encryption\IManager { public function registerEncryptionModule(IEncryptionModule $module) { $id = $module->getId(); $name = $module->getDisplayName(); + + // FIXME why do we load the same encryption module multiple times + /* if (isset($this->encryptionModules[$id])) { $message = 'Id "' . $id . '" already used by encryption module "' . $name . '"'; throw new Exceptions\ModuleAlreadyExistsException($message); } - +*/ $defaultEncryptionModuleId = $this->getDefaultEncryptionModuleId(); if (empty($defaultEncryptionModuleId)) { |