fixed missing parameter
This commit is contained in:
parent
4ecd62e58d
commit
c52fe12537
|
@ -119,8 +119,10 @@ class Hooks {
|
|||
// is in use (client-side encryption does not have access to
|
||||
// the necessary keys)
|
||||
if ( Crypt::mode() == 'server' ) {
|
||||
|
||||
$session = new Session();
|
||||
|
||||
$view = new \OC_FilesystemView( '/' );
|
||||
|
||||
$session = new Session($view);
|
||||
|
||||
// Get existing decrypted private key
|
||||
$privateKey = $session->getPrivateKey();
|
||||
|
|
Loading…
Reference in New Issue