diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-04-10 15:08:28 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-04-10 15:08:28 +0200 |
commit | 98de385b8adf748bc1f7d9b527b253624575e370 (patch) | |
tree | 989dee0fcc8480897615dab49b56fd16f2b9eea0 /apps/files_encryption/appinfo | |
parent | 109fe198c3b8ffd5a4f7f4a4aba6639480895644 (diff) | |
download | nextcloud-server-98de385b8adf748bc1f7d9b527b253624575e370.tar.gz nextcloud-server-98de385b8adf748bc1f7d9b527b253624575e370.zip |
add $view as parameter for session constructor
Diffstat (limited to 'apps/files_encryption/appinfo')
-rw-r--r-- | apps/files_encryption/appinfo/app.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/appinfo/app.php b/apps/files_encryption/appinfo/app.php index b095f79c0c3..47f4120fb35 100644 --- a/apps/files_encryption/appinfo/app.php +++ b/apps/files_encryption/appinfo/app.php @@ -24,8 +24,8 @@ 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' ); - -$session = new OCA\Encryption\Session(); +$view = new OC\Files\View('/'); +$session = new OCA\Encryption\Session($view); if ( ! $session->getPrivateKey( \OCP\USER::getUser() ) |