summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-07-29 15:34:02 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-07-29 15:34:02 +0100
commit3ef680d96623eb6350015843f56b55b593a053bd (patch)
tree8bfd50c8eb3d0380d7eac55f6d1744d55e984e68 /lib
parent332492548fbbff1d1d06286a5d5880cf4beee507 (diff)
parent943fc1b8e56a8e9121bdfb441e540de044075641 (diff)
downloadnextcloud-server-3ef680d96623eb6350015843f56b55b593a053bd.tar.gz
nextcloud-server-3ef680d96623eb6350015843f56b55b593a053bd.zip
Merge pull request #17950 from owncloud/config-dontdetectfschangesinrootbydefault
Disable filesystem_check_changes by default
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/storage/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php
index 847cb8492fe..78f35ad4a6f 100644
--- a/lib/private/files/storage/common.php
+++ b/lib/private/files/storage/common.php
@@ -338,7 +338,7 @@ abstract class Common implements Storage {
}
if (!isset($this->watcher)) {
$this->watcher = new Watcher($storage);
- $globalPolicy = \OC::$server->getConfig()->getSystemValue('filesystem_check_changes', Watcher::CHECK_ONCE);
+ $globalPolicy = \OC::$server->getConfig()->getSystemValue('filesystem_check_changes', Watcher::CHECK_NEVER);
$this->watcher->setPolicy((int)$this->getMountOption('filesystem_check_changes', $globalPolicy));
}
return $this->watcher;