[Pkg-owncloud-commits] [owncloud] 100/273: Improve comment
David Prévot
taffit at moszumanska.debian.org
Fri Jul 4 03:13:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 1bb1504d2452ccf1fde24700d11dd105805d762d
Author: Robin Appelman <icewind at owncloud.com>
Date: Fri Jun 27 17:31:51 2014 +0200
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 f367415..454196f 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;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list