mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Update the unencrypted file size when closing streams
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
f2f6d52263
commit
da45a807ac
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ class Encryption extends Wrapper {
|
|||
$cacheEntry = $cache->get($this->internalPath);
|
||||
if ($cacheEntry) {
|
||||
$version = $cacheEntry['encryptedVersion'] + 1;
|
||||
$cache->update($cacheEntry->getId(), ['encrypted' => $version, 'encryptedVersion' => $version]);
|
||||
$cache->update($cacheEntry->getId(), ['encrypted' => $version, 'encryptedVersion' => $version, 'unencrypted_size' => $this->unencryptedSize]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue