diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-04-23 13:45:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 13:45:55 +0200 |
commit | a399de1b222b524a2b3ddcfd03ba34c39e00d951 (patch) | |
tree | 7ec21c798399c4fa4c5b7c403ca03081c228e53e | |
parent | c75aac688b2f0ef8f00f8a77e743fe365ee1b12c (diff) | |
parent | 7cfe36e49bf73684b4745066320213d74866cfc7 (diff) | |
download | nextcloud-server-a399de1b222b524a2b3ddcfd03ba34c39e00d951.tar.gz nextcloud-server-a399de1b222b524a2b3ddcfd03ba34c39e00d951.zip |
Merge pull request #44962 from nextcloud/dependabot/composer/sabre/dav-4.6.0
chore(deps): Bump sabre/dav from 4.5.0 to 4.6.0
m--------- | 3rdparty | 0 | ||||
-rw-r--r-- | lib/private/Files/Storage/DAV.php | 6 |
2 files changed, 0 insertions, 6 deletions
diff --git a/3rdparty b/3rdparty -Subproject 20378e2f1c665b4e6738ee5c8e302a42fad5992 +Subproject 87b53659c4a128ce87aa0ffb8c0d830c6265503 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)) { |