Reset checksum when writing files to object store

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2021-06-21 12:04:49 +02:00
parent 9a05fd4f52
commit 21db463bc9
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

View 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';