summaryrefslogtreecommitdiffstats
path: root/apps/encryption/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/appinfo')
-rw-r--r--apps/encryption/appinfo/application.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/encryption/appinfo/application.php b/apps/encryption/appinfo/application.php
index f9b7a1c60da..21d7f3e737f 100644
--- a/apps/encryption/appinfo/application.php
+++ b/apps/encryption/appinfo/application.php
@@ -76,9 +76,8 @@ class Application extends \OCP\AppFramework\App {
$server->getLogger(),
$container->query('UserSetup'),
$server->getUserSession(),
- new \OCP\Util(),
$container->query('Util'),
- $server->getSession()),
+ new \OCA\Encryption\Session($server->getSession())),
]);
$hookManager->fireHooks();
@@ -126,7 +125,7 @@ class Application extends \OCP\AppFramework\App {
$c->query('Crypt'),
$server->getConfig(),
$server->getUserSession(),
- $server->getSession(),
+ new \OCA\Encryption\Session($server->getSession()),
$server->getLogger(),
$c->query('Recovery')
);