diff options
author | Robin Appelman <robin@icewind.nl> | 2022-03-25 15:15:02 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-04-04 16:48:18 +0200 |
commit | 89d3cd144746eb9004f45a718986c86451204e12 (patch) | |
tree | 6ec359e8ab871342ca7a69d6603f0b372f75af18 /apps/files_sharing/lib | |
parent | 57ecf55e0f91f28b7b1665bb9765a1f58a285aca (diff) | |
download | nextcloud-server-89d3cd144746eb9004f45a718986c86451204e12.tar.gz nextcloud-server-89d3cd144746eb9004f45a718986c86451204e12.zip |
don't overwrite the etag from storage backends that already provide "good" etags
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/External/Storage.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/External/Storage.php b/apps/files_sharing/lib/External/Storage.php index ffa5fb8716d..b301d2fcc9d 100644 --- a/apps/files_sharing/lib/External/Storage.php +++ b/apps/files_sharing/lib/External/Storage.php @@ -43,12 +43,13 @@ use OCP\Constants; use OCP\Federation\ICloudId; use OCP\Files\NotFoundException; use OCP\Files\Storage\IDisableEncryptionStorage; +use OCP\Files\Storage\IReliableEtagStorage; use OCP\Files\StorageInvalidException; use OCP\Files\StorageNotAvailableException; use OCP\Http\Client\LocalServerException; use OCP\Http\Client\IClientService; -class Storage extends DAV implements ISharedStorage, IDisableEncryptionStorage { +class Storage extends DAV implements ISharedStorage, IDisableEncryptionStorage, IReliableEtagStorage { /** @var ICloudId */ private $cloudId; /** @var string */ |