]> source.dussan.org Git - nextcloud-server.git/commitdiff
Reset checksum when writing files to object store 27754/head
authorJulius Härtl <jus@bitgrid.net>
Mon, 21 Jun 2021 10:04:49 +0000 (12:04 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 1 Jul 2021 15:38:17 +0000 (15:38 +0000)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
lib/private/Files/ObjectStore/ObjectStoreStorage.php

index fe5b6c96ae2a011d49d63af981010826da9969ad..ad7bede15da023bcb2f49198c18f70abd15cb39c 100644 (file)
@@ -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';