aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-12-17 19:55:13 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-05-08 18:57:17 +0000
commit697a20ef2a86394a4c8420cab099c1357e49031e (patch)
tree3de3b79bae463ef133e07c97336850185bde3ef6
parent07e3f2edb0a28e03fea6d2fcbbcf342124be834e (diff)
downloadnextcloud-server-backport/49903/stable30.tar.gz
nextcloud-server-backport/49903/stable30.zip
fix: restore updated encrypted version when copying versionsbackport/49903/stable30
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--lib/private/Files/Storage/Wrapper/Encryption.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php
index f950a4c2d78..faf98f76f38 100644
--- a/lib/private/Files/Storage/Wrapper/Encryption.php
+++ b/lib/private/Files/Storage/Wrapper/Encryption.php
@@ -770,6 +770,7 @@ class Encryption extends Wrapper {
$info->getUnencryptedSize()
);
}
+ $this->updateEncryptedVersion($sourceStorage, $sourceInternalPath, $targetInternalPath, $isRename, true);
}
return $result;
}