fixed missing parameter

This commit is contained in:
Florin Peter 2013-04-29 23:37:08 +02:00
parent 4ecd62e58d
commit c52fe12537
1 changed files with 4 additions and 2 deletions

View File

@ -119,8 +119,10 @@ class Hooks {
// is in use (client-side encryption does not have access to // is in use (client-side encryption does not have access to
// the necessary keys) // the necessary keys)
if ( Crypt::mode() == 'server' ) { if ( Crypt::mode() == 'server' ) {
$session = new Session(); $view = new \OC_FilesystemView( '/' );
$session = new Session($view);
// Get existing decrypted private key // Get existing decrypted private key
$privateKey = $session->getPrivateKey(); $privateKey = $session->getPrivateKey();