diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-07-05 17:27:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 17:27:07 +0200 |
commit | c73070c19d08db0bd8572ccee8b8366ebd6d8b25 (patch) | |
tree | b204395e045a279f851e73fd6e9add5dabbdb027 /lib/private | |
parent | fb8e68116110592403897be9e126d46064ced65c (diff) | |
parent | 226e0c4107ddf97ab2acbf6eaae7a358b1f9631d (diff) | |
download | nextcloud-server-c73070c19d08db0bd8572ccee8b8366ebd6d8b25.tar.gz nextcloud-server-c73070c19d08db0bd8572ccee8b8366ebd6d8b25.zip |
Merge pull request #27752 from nextcloud/backport/27586/stable22
[stable22] Reset checksum when writing files to object store
Diffstat (limited to 'lib/private')
-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'; |