summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/appinfo
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2013-04-10 17:37:03 +0200
committerSam Tuke <samtuke@owncloud.com>2013-04-16 13:22:16 +0200
commitf378a7f572e1da4b24280c1fcbf830e026186c83 (patch)
tree23c4f621dd087595a0bb2212ac1f66203ee22bc4 /apps/files_encryption/appinfo
parent854b9207878d9c5cd8f0d972f4b16b618beade3a (diff)
downloadnextcloud-server-f378a7f572e1da4b24280c1fcbf830e026186c83.tar.gz
nextcloud-server-f378a7f572e1da4b24280c1fcbf830e026186c83.zip
Fixed proxy class handing of read / write files
Various work on other classes
Diffstat (limited to 'apps/files_encryption/appinfo')
-rw-r--r--apps/files_encryption/appinfo/app.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_encryption/appinfo/app.php b/apps/files_encryption/appinfo/app.php
index 9747fb20ad6..c2de9d0b441 100644
--- a/apps/files_encryption/appinfo/app.php
+++ b/apps/files_encryption/appinfo/app.php
@@ -24,8 +24,10 @@ OCP\Util::connectHook( 'OCP\Share', 'post_unshareAll', 'OCA\Encryption\Hooks', '
OCP\Util::connectHook( 'OC_Webdav_Properties', 'update', 'OCA\Encryption\Hooks', 'updateKeyfileFromClient' );
stream_wrapper_register( 'crypt', 'OCA\Encryption\Stream' );
-$view = new OC_FilesystemView('/');
-$session = new OCA\Encryption\Session($view);
+
+$view = new OC_FilesystemView( '/' );
+
+$session = new OCA\Encryption\Session( $view );
if (
! $session->getPrivateKey( \OCP\USER::getUser() )