From 1bb1504d2452ccf1fde24700d11dd105805d762d Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Fri, 27 Jun 2014 17:31:51 +0200
Subject: [PATCH] Improve comment

---
 apps/files_sharing/lib/external/storage.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/apps/files_sharing/lib/external/storage.php b/apps/files_sharing/lib/external/storage.php
index f367415579..454196f15a 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;
 		}
-- 
GitLab