diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-27 17:31:51 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-27 17:31:51 +0200 |
commit | 1bb1504d2452ccf1fde24700d11dd105805d762d (patch) | |
tree | 7de5eb1b510041e8d0b43294d1b256352f7abb74 | |
parent | db3f0cee4ad140f69d976727f33452c796a67288 (diff) | |
download | nextcloud-server-1bb1504d2452ccf1fde24700d11dd105805d762d.tar.gz nextcloud-server-1bb1504d2452ccf1fde24700d11dd105805d762d.zip |
Improve comment
-rw-r--r-- | apps/files_sharing/lib/external/storage.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/external/storage.php b/apps/files_sharing/lib/external/storage.php index f3674155799..454196f15ae 100644 --- a/apps/files_sharing/lib/external/storage.php +++ b/apps/files_sharing/lib/external/storage.php @@ -111,7 +111,8 @@ class Storage extends DAV implements ISharedStorage { * @return bool */ public function hasUpdated($path, $time) { - // since we check updates for the entire storage at once, we only need to check once per request + // since for owncloud webdav servers we can rely on etag propagation we only need to check the root of the storage + // because of that we only do one check for the entire storage per request if ($this->updateChecked) { return false; } |