aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2021-07-01 17:30:54 +0200
committerGitHub <noreply@github.com>2021-07-01 17:30:54 +0200
commit62675eb5c24de864b48607f840e6f1bc2e4cb071 (patch)
tree59ee527176edbdf93bb0bf47c722d7e5879fbeed /lib
parent86d0afdb5e67771dfe4ece46854cceabbdc5a405 (diff)
parent21db463bc9df96378aec840d87a95c6003b1d15f (diff)
downloadnextcloud-server-62675eb5c24de864b48607f840e6f1bc2e4cb071.tar.gz
nextcloud-server-62675eb5c24de864b48607f840e6f1bc2e4cb071.zip
Merge pull request #27586 from nextcloud/bugfi/noid/objectstore-checksum
Reset checksum when writing files to object store
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/ObjectStore/ObjectStoreStorage.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Files/ObjectStore/ObjectStoreStorage.php b/lib/private/Files/ObjectStore/ObjectStoreStorage.php
index 0328b728563..4050daddb35 100644
--- a/lib/private/Files/ObjectStore/ObjectStoreStorage.php
+++ b/lib/private/Files/ObjectStore/ObjectStoreStorage.php
@@ -465,6 +465,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
$stat['mimetype'] = $mimetype;
$stat['etag'] = $this->getETag($path);
+ $stat['checksum'] = '';
$exists = $this->getCache()->inCache($path);
$uploadPath = $exists ? $path : $path . '.part';