add $view as parameter for getFileKey() call

This commit is contained in:
Björn Schießle 2013-04-10 15:14:44 +02:00
parent 98de385b8a
commit fff979a590

View file

@ -518,7 +518,7 @@ class Util {
$size = stream_copy_to_stream( $plainHandle, $encHandle );
// 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
Keymanager::setFileKey( $this->view, $relPath, $this->userId, $encKey );