diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-08-21 15:32:53 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-08-21 15:32:53 +0200 |
commit | d658d8dd4e9abf10d6abba2f8a9297bec69f02c8 (patch) | |
tree | ddc50d2bdb3ea104fe2d2099d568bddd995c9f82 /apps | |
parent | 510010e774c4019b7fc616c90085649abb7afac3 (diff) | |
download | nextcloud-server-d658d8dd4e9abf10d6abba2f8a9297bec69f02c8.tar.gz nextcloud-server-d658d8dd4e9abf10d6abba2f8a9297bec69f02c8.zip |
Always detect remote changes for fed sharing
This is even more important now that filesystem_check_changes is 0 by
default.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/external/storage.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/external/storage.php b/apps/files_sharing/lib/external/storage.php index dc8d1738b05..270d8b6d1b8 100644 --- a/apps/files_sharing/lib/external/storage.php +++ b/apps/files_sharing/lib/external/storage.php @@ -88,6 +88,8 @@ class Storage extends DAV implements ISharedStorage { 'user' => $options['token'], 'password' => (string)$options['password'] )); + + $this->getWatcher()->setPolicy(\OC\Files\Cache\Watcher::CHECK_ONCE); } public function getRemoteUser() { |