aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-12-17 19:55:13 +0100
committerRobin Appelman <robin@icewind.nl>2025-01-03 15:21:01 +0100
commit012a402cec90a026feaffa70cbab2f5337161ed5 (patch)
tree5d837ba385bdabbcb04d9063ed5bb3e28128110f
parentb16f5a00435e9356cbbd757b7fadb5823d8f903a (diff)
downloadnextcloud-server-012a402cec90a026feaffa70cbab2f5337161ed5.tar.gz
nextcloud-server-012a402cec90a026feaffa70cbab2f5337161ed5.zip
fix: restore updated encrypted version when copying versionsencryption-version-version
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 eb073d24087..ba23f3c43ec 100644
--- a/lib/private/Files/Storage/Wrapper/Encryption.php
+++ b/lib/private/Files/Storage/Wrapper/Encryption.php
@@ -628,6 +628,7 @@ class Encryption extends Wrapper {
$info->getUnencryptedSize()
);
}
+ $this->updateEncryptedVersion($sourceStorage, $sourceInternalPath, $targetInternalPath, $isRename, true);
}
return $result;
}