diff options
author | Oliver Kohl D.Sc <oliver@kohl.bz> | 2015-05-26 13:36:45 +0200 |
---|---|---|
committer | Oliver Kohl D.Sc <oliver@kohl.bz> | 2015-05-26 13:36:45 +0200 |
commit | f8938f004d6f6aedadca87734a48a4151af6d1a3 (patch) | |
tree | 379ed1b9e85e0bb98de1c709835bd1b2f48147f7 /lib | |
parent | d7c18b04bdc67a9239d0f772e2e83144ce83881c (diff) | |
download | nextcloud-server-f8938f004d6f6aedadca87734a48a4151af6d1a3.tar.gz nextcloud-server-f8938f004d6f6aedadca87734a48a4151af6d1a3.zip |
Revert "Revert "FIX for webdav.mediencenter.t-online.de""
Diffstat (limited to 'lib')
-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 0ddfde15047..52272be2ee5 100644 --- a/lib/private/files/storage/dav.php +++ b/lib/private/files/storage/dav.php @@ -743,6 +743,11 @@ class DAV extends 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; } |