mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 10:40:40 -04:00
Improve comment
This commit is contained in:
parent
db3f0cee4a
commit
1bb1504d24
1 changed files with 2 additions and 1 deletions
3
apps/files_sharing/lib/external/storage.php
vendored
3
apps/files_sharing/lib/external/storage.php
vendored
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue