diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-10 15:14:52 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-10 15:14:52 +0100 |
commit | 5c89cf9565d4c08984af10d39cc4aff0a6cac147 (patch) | |
tree | 3e1d41921ce36929b68fdd30109cc7899c78b8d1 /lib | |
parent | 159a0eb597425d7082aff7cf857d4d042cf8ebd2 (diff) | |
parent | 9dc759b4dc02f565ff18bc14f13e0b00da0ee05c (diff) | |
download | nextcloud-server-5c89cf9565d4c08984af10d39cc4aff0a6cac147.tar.gz nextcloud-server-5c89cf9565d4c08984af10d39cc4aff0a6cac147.zip |
Merge pull request #22267 from owncloud/fix_encryption2
calculate and update the version of the encryption signature correctly
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/storage/wrapper/encryption.php | 4 |
1 files changed, 4 insertions, 0 deletions
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, []); + } } } |