From 3217e08d10edf88bb467baefb1d9d7f2a9bf39d6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 22 Apr 2024 14:33:05 +0200 Subject: [PATCH 1/2] chore(deps): Bump sabre/dav from 4.5.0 to 4.6.0 Signed-off-by: Joas Schilling --- 3rdparty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty b/3rdparty index 20378e2f1c6..87b53659c4a 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit 20378e2f1c665b4e6738ee5c8e302a42fad5992e +Subproject commit 87b53659c4a128ce87aa0ffb8c0d830c62655034 From 7cfe36e49bf73684b4745066320213d74866cfc7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 22 Apr 2024 15:05:49 +0200 Subject: [PATCH 2/2] fix(storage): Fix DAV storage as false is never returned Signed-off-by: Joas Schilling --- lib/private/Files/Storage/DAV.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php index e5bbbb560da..6c7d329c48e 100644 --- a/lib/private/Files/Storage/DAV.php +++ b/lib/private/Files/Storage/DAV.php @@ -470,9 +470,6 @@ class DAV extends Common { $this->client->proppatch($this->encodePath($path), ['{DAV:}lastmodified' => $mtime]); // non-owncloud clients might not have accepted the property, need to recheck it $response = $this->client->propfind($this->encodePath($path), ['{DAV:}getlastmodified'], 0); - if ($response === false) { - return false; - } if (isset($response['{DAV:}getlastmodified'])) { $remoteMtime = strtotime($response['{DAV:}getlastmodified']); if ($remoteMtime !== $mtime) { @@ -911,9 +908,6 @@ class DAV extends Common { self::PROPFIND_PROPS, 1 ); - if ($responses === false) { - return; - } array_shift($responses); //the first entry is the current directory if (!$this->statCache->hasKey($directory)) {