summaryrefslogtreecommitdiffstats
path: root/apps/encryption/settings
diff options
context:
space:
mode:
authorClark Tomlinson <fallen013@gmail.com>2015-03-30 17:01:50 -0400
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:28 +0200
commite6dc6944c2cd92617818a2fd029ecdb1de5ab663 (patch)
tree3f370c438fd6d175c8ec988ad6596f697c2e1b84 /apps/encryption/settings
parent1b42b492dce562596b8b57a11546728f697c4f38 (diff)
downloadnextcloud-server-e6dc6944c2cd92617818a2fd029ecdb1de5ab663.tar.gz
nextcloud-server-e6dc6944c2cd92617818a2fd029ecdb1de5ab663.zip
moving methods to their final places
and updating test some.
Diffstat (limited to 'apps/encryption/settings')
-rw-r--r--apps/encryption/settings/settings-personal.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/encryption/settings/settings-personal.php b/apps/encryption/settings/settings-personal.php
index 3266351a07d..540897b829d 100644
--- a/apps/encryption/settings/settings-personal.php
+++ b/apps/encryption/settings/settings-personal.php
@@ -20,20 +20,14 @@ $keymanager = new \OCA\Encryption\KeyManager(
\OC::$server->getConfig(),
\OC::$server->getUserSession(),
\OC::$server->getSession(),
- \OC::$server->getLogger());
+ \OC::$server->getLogger(),);
$user = \OCP\User::getUser();
$view = new \OC\Files\View('/');
$util = new \OCA\Encryption\Util(
- new \OC\Files\View(),
- new \OC\Files\Filesystem(),
- $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());
$session = \OC::$server->getSession();