From 9dc759b4dc02f565ff18bc14f13e0b00da0ee05c Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 10 Feb 2016 12:34:55 +0100 Subject: remember signature version and only set it on update to make sure that other apps like files_versions still get the old signature version --- lib/private/files/storage/wrapper/encryption.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/private/files/storage/wrapper/encryption.php b/lib/private/files/storage/wrapper/encryption.php index 14d3b15bbae..26905dfb388 100644 --- a/lib/private/files/storage/wrapper/encryption.php +++ b/lib/private/files/storage/wrapper/encryption.php @@ -260,6 +260,10 @@ class Encryption extends Wrapper { $this->unencryptedSize[$target] = $this->unencryptedSize[$source]; } $this->keyStorage->renameKeys($source, $target); + $module = $this->getEncryptionModule($path2); + if ($module) { + $module->update($target, $this->uid, []); + } } } -- cgit v1.2.3