From 89d3cd144746eb9004f45a718986c86451204e12 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 25 Mar 2022 15:15:02 +0100 Subject: don't overwrite the etag from storage backends that already provide "good" etags Signed-off-by: Robin Appelman --- apps/files_sharing/lib/External/Storage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files_sharing/lib') 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 */ -- cgit v1.2.3