summaryrefslogtreecommitdiffstats
path: root/apps/encryption/appinfo/application.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/appinfo/application.php')
-rw-r--r--apps/encryption/appinfo/application.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/encryption/appinfo/application.php b/apps/encryption/appinfo/application.php
index 5d0fe2c9184..243e227b6bb 100644
--- a/apps/encryption/appinfo/application.php
+++ b/apps/encryption/appinfo/application.php
@@ -171,6 +171,20 @@ class Application extends \OCP\AppFramework\App {
);
});
+ $container->registerService('SettingsController', function (IAppContainer $c) {
+ $server = $c->getServer();
+ return new \OCA\Encryption\Controller\SettingsController(
+ $c->getAppName(),
+ $server->getRequest(),
+ $server->getL10N($c->getAppName()),
+ $server->getUserManager(),
+ $server->getUserSession(),
+ $c->query('KeyManager'),
+ $c->query('Crypt'),
+ $c->query('Session')
+ );
+ });
+
$container->registerService('UserSetup',
function (IAppContainer $c) {
$server = $c->getServer();