summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage/wrapper
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2016-02-10 12:34:55 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2016-02-10 13:27:32 +0100
commit9dc759b4dc02f565ff18bc14f13e0b00da0ee05c (patch)
treeef10a5d9219db8c58a63e7bf3d6bb8ac9dcc2a1d /lib/private/files/storage/wrapper
parent43ed86313ca3e8f6820dc08c38c9d4a7c32ddf01 (diff)
downloadnextcloud-server-9dc759b4dc02f565ff18bc14f13e0b00da0ee05c.tar.gz
nextcloud-server-9dc759b4dc02f565ff18bc14f13e0b00da0ee05c.zip
remember signature version and only set it on update to make sure that other
apps like files_versions still get the old signature version
Diffstat (limited to 'lib/private/files/storage/wrapper')
-rw-r--r--lib/private/files/storage/wrapper/encryption.php4
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, []);
+ }
}
}