diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-13 15:56:36 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-04-30 12:04:02 +0200 |
commit | 4ef9df8750553518143a7b1d088ab755db482cf1 (patch) | |
tree | 7f0a4885b29be371126ad81913bb01445c79a45a /apps/encryption/appinfo | |
parent | d308ec4f0ea54e8cb0c99228a480da8cb7cf30a8 (diff) | |
download | nextcloud-server-4ef9df8750553518143a7b1d088ab755db482cf1.tar.gz nextcloud-server-4ef9df8750553518143a7b1d088ab755db482cf1.zip |
skip user if we don't have a public key
Diffstat (limited to 'apps/encryption/appinfo')
-rw-r--r-- | apps/encryption/appinfo/application.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/encryption/appinfo/application.php b/apps/encryption/appinfo/application.php index 0c9dcb76fbc..0d6f57f46e9 100644 --- a/apps/encryption/appinfo/application.php +++ b/apps/encryption/appinfo/application.php @@ -94,10 +94,12 @@ class Application extends \OCP\AppFramework\App { public function registerEncryptionModule() { $container = $this->getContainer(); + $this->encryptionManager->registerEncryptionModule( Encryption::ID, Encryption::DISPLAY_NAME, function() use ($container) { + return new Encryption( $container->query('Crypt'), $container->query('KeyManager'), @@ -105,6 +107,7 @@ class Application extends \OCP\AppFramework\App { $container->getServer()->getLogger() ); }); + } public function registerServices() { |