mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 18:11:41 -04:00
make sure that we always remove the file again from the cache after the version was created
This commit is contained in:
parent
6d40e69e29
commit
e4b451491b
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue