Merge pull request #23713 from owncloud/small_encryption_fix
make sure that we always remove the file again from the cache after t…
This commit is contained in:
commit
2714dfce21
|
@ -699,6 +699,7 @@ class Encryption extends Wrapper {
|
|||
// create a 1:1 copy of the file
|
||||
$this->arrayCache->set('encryption_copy_version_' . $sourceInternalPath, true);
|
||||
$result = $this->storage->copyFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
|
||||
$this->arrayCache->remove('encryption_copy_version_' . $sourceInternalPath);
|
||||
if ($result) {
|
||||
$info = $this->getCache('', $sourceStorage)->get($sourceInternalPath);
|
||||
// make sure that we update the unencrypted size for the version
|
||||
|
|
Loading…
Reference in New Issue