diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-06-21 12:04:49 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-06-21 12:04:49 +0200 |
commit | 21db463bc9df96378aec840d87a95c6003b1d15f (patch) | |
tree | cced8720adf753305a2230e12103fe1517d7dddb /lib | |
parent | 9a05fd4f5210ddacc8833054617c0a6544fbb2fd (diff) | |
download | nextcloud-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.php | 1 |
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'; |