summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-21 15:32:53 +0200
committerVincent Petry <pvince81@owncloud.com>2015-08-21 15:32:53 +0200
commitd658d8dd4e9abf10d6abba2f8a9297bec69f02c8 (patch)
treeddc50d2bdb3ea104fe2d2099d568bddd995c9f82 /apps
parent510010e774c4019b7fc616c90085649abb7afac3 (diff)
downloadnextcloud-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.php2
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() {