diff options
Diffstat (limited to 'lib/private/files/storage/dav.php')
-rw-r--r-- | lib/private/files/storage/dav.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/files/storage/dav.php b/lib/private/files/storage/dav.php index e0f24e0532d..5fb53d664ed 100644 --- a/lib/private/files/storage/dav.php +++ b/lib/private/files/storage/dav.php @@ -602,6 +602,11 @@ class DAV extends \OC\Files\Storage\Common { return false; } } else { + // This resolves issues that are flooding the log file due to some malformed + // WebDAV response e.g. T-Mobile's cloud named "Mediencenter" + if (!isset($response['{DAV:}getlastmodified'])) + return false; + $remoteMtime = strtotime($response['{DAV:}getlastmodified']); return $remoteMtime > $time; } |