Browse Source

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
pull/44987/head
Joas Schilling 1 week ago
parent
commit
a399de1b22
No account linked to committer's email address
2 changed files with 1 additions and 7 deletions
  1. 1
    1
      3rdparty
  2. 0
    6
      lib/private/Files/Storage/DAV.php

+ 1
- 1
3rdparty

@@ -1 +1 @@
Subproject commit 20378e2f1c665b4e6738ee5c8e302a42fad5992e
Subproject commit 87b53659c4a128ce87aa0ffb8c0d830c62655034

+ 0
- 6
lib/private/Files/Storage/DAV.php View File

@@ -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)) {

Loading…
Cancel
Save