summaryrefslogtreecommitdiffstats
path: root/apps/encryption/appinfo
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-03-31 11:15:47 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:28 +0200
commit0f28d538a0af769220bcba120f0a7340dd0aba5f (patch)
tree7c3dc65e4f1c9d7d4330563fb4c1eb7c6ed51827 /apps/encryption/appinfo
parente0ab2c34eab970d82ddc6c9f5b3b752243fc716a (diff)
downloadnextcloud-server-0f28d538a0af769220bcba120f0a7340dd0aba5f.tar.gz
nextcloud-server-0f28d538a0af769220bcba120f0a7340dd0aba5f.zip
add session class to handle all session operations
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')
);