From d658d8dd4e9abf10d6abba2f8a9297bec69f02c8 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 21 Aug 2015 15:32:53 +0200 Subject: [PATCH] Always detect remote changes for fed sharing This is even more important now that filesystem_check_changes is 0 by default. --- apps/files_sharing/lib/external/storage.php | 2 ++ 1 file changed, 2 insertions(+) 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() {