summaryrefslogtreecommitdiffstats
path: root/apps/encryption/settings/settings-personal.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-03-31 16:23:31 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:29 +0200
commite4895bda01f9c94fc33e094ae9466e1cf5502916 (patch)
treef78a79ef0c3035d443fc10e2eaedcb4f436d7091 /apps/encryption/settings/settings-personal.php
parentbd933b1c85dff950e83591a6245ba2e15db33caf (diff)
downloadnextcloud-server-e4895bda01f9c94fc33e094ae9466e1cf5502916.tar.gz
nextcloud-server-e4895bda01f9c94fc33e094ae9466e1cf5502916.zip
add helper class accessible for encryption modules to ask for a list of users with access to a file, needed to apply the recovery key to all files
Diffstat (limited to 'apps/encryption/settings/settings-personal.php')
-rw-r--r--apps/encryption/settings/settings-personal.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/encryption/settings/settings-personal.php b/apps/encryption/settings/settings-personal.php
index a4173dbd40f..8caacbd19ca 100644
--- a/apps/encryption/settings/settings-personal.php
+++ b/apps/encryption/settings/settings-personal.php
@@ -29,7 +29,11 @@ $user = \OCP\User::getUser();
$view = new \OC\Files\View('/');
$util = new \OCA\Encryption\Util(
- new \OC\Files\View(), $crypt, $keymanager, \OC::$server->getLogger(), \OC::$server->getUserSession(), \OC::$server->getConfig());
+ new \OC\Files\View(),
+ $crypt, $keymanager,
+ \OC::$server->getLogger(),
+ \OC::$server->getUserSession(),
+ \OC::$server->getConfig());
$privateKeySet = $session->isPrivateKeySet();
// did we tried to initialize the keys for this session?