add $view as parameter for getFileKey() call
This commit is contained in:
parent
98de385b8a
commit
fff979a590
|
@ -518,7 +518,7 @@ class Util {
|
||||||
$size = stream_copy_to_stream( $plainHandle, $encHandle );
|
$size = stream_copy_to_stream( $plainHandle, $encHandle );
|
||||||
|
|
||||||
// Fetch the key that has just been set/updated by the stream
|
// Fetch the key that has just been set/updated by the stream
|
||||||
$encKey = Keymanager::getFileKey( $relPath );
|
$encKey = Keymanager::getFileKey( $this->view, $this->userId, $relPath );
|
||||||
|
|
||||||
// Save keyfile
|
// Save keyfile
|
||||||
Keymanager::setFileKey( $this->view, $relPath, $this->userId, $encKey );
|
Keymanager::setFileKey( $this->view, $relPath, $this->userId, $encKey );
|
||||||
|
|
Loading…
Reference in New Issue