aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-06-21 12:04:49 +0200
committerJulius Härtl <jus@bitgrid.net>2021-06-21 12:04:49 +0200
commit21db463bc9df96378aec840d87a95c6003b1d15f (patch)
treecced8720adf753305a2230e12103fe1517d7dddb /lib
parent9a05fd4f5210ddacc8833054617c0a6544fbb2fd (diff)
downloadnextcloud-server-21db463bc9df96378aec840d87a95c6003b1d15f.tar.gz
nextcloud-server-21db463bc9df96378aec840d87a95c6003b1d15f.zip
Reset checksum when writing files to object store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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';