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:27 +0000
commit63e7bb6291b788a2c3b491073c2838b97e281936 (patch)
tree3919f8b7cc607a35c6fdaed221cf15eef2f99c07
parent0d30f6681224fb85240ab321ef562c6657d61689 (diff)
downloadnextcloud-server-backport/49903/stable29.tar.gz
nextcloud-server-backport/49903/stable29.zip
fix: restore updated encrypted version when copying versionsbackport/49903/stable29
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 895a369d428..bae2362cea2 100644
--- a/lib/private/Files/Storage/Wrapper/Encryption.php
+++ b/lib/private/Files/Storage/Wrapper/Encryption.php
@@ -800,6 +800,7 @@ class Encryption extends Wrapper {
$info->getUnencryptedSize()
);
}
+ $this->updateEncryptedVersion($sourceStorage, $sourceInternalPath, $targetInternalPath, $isRename, true);
}
return $result;
}