summaryrefslogtreecommitdiffstats
path: root/apps/encryption
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2018-08-08 18:27:18 +0200
committerGitHub <noreply@github.com>2018-08-08 18:27:18 +0200
commit11e99859ef3a28d0124241a43a934f70b7c3ff3a (patch)
treea3d3f5c785157762815c09402c5bc1f9f94975dc /apps/encryption
parent6b1ba9cdaf3ce5d63e6e46bcbc677cf7933f5fb3 (diff)
parenta9e22c5f1ccdc148d8ea8a1e2f5e8baac6f19e90 (diff)
downloadnextcloud-server-11e99859ef3a28d0124241a43a934f70b7c3ff3a.tar.gz
nextcloud-server-11e99859ef3a28d0124241a43a934f70b7c3ff3a.zip
Merge pull request #10397 from nextcloud/encryption-s3-fix
make file cache updates more robust
Diffstat (limited to 'apps/encryption')
-rw-r--r--apps/encryption/lib/Crypto/Encryption.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/encryption/lib/Crypto/Encryption.php b/apps/encryption/lib/Crypto/Encryption.php
index bd75e4ae10c..3f6001cab74 100644
--- a/apps/encryption/lib/Crypto/Encryption.php
+++ b/apps/encryption/lib/Crypto/Encryption.php
@@ -254,7 +254,6 @@ class Encryption implements IEncryptionModule {
public function end($path, $position = 0) {
$result = '';
if ($this->isWriteOperation) {
- $this->keyManager->setVersion($path, $this->version + 1, new View());
// in case of a part file we remember the new signature versions
// the version will be set later on update.
// This way we make sure that other apps listening to the pre-hooks