aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2015-03-26 21:36:34 +0000
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2015-03-26 21:36:34 +0000
commitc2909355bf66c92e46c9fbea39497ba91dbe37a0 (patch)
treec832f4ba40ba1728ddd82bc5684ca6b4aa9eb3b6 /lib
parentfc59a37ae7e28ad8ef7a0a383e87024ff942408d (diff)
parent58b4c2c0e53ff5ef6e261426ecb2b94d9791da71 (diff)
downloadnextcloud-server-c2909355bf66c92e46c9fbea39497ba91dbe37a0.tar.gz
nextcloud-server-c2909355bf66c92e46c9fbea39497ba91dbe37a0.zip
Merge pull request #14925 from owncloud/ext-mountoptions-ui
Mount options GUI for external storage
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 ed8852cb68d..700164bdc3d 100644
--- a/lib/private/files/storage/common.php
+++ b/lib/private/files/storage/common.php
@@ -360,7 +360,7 @@ abstract class Common implements \OC\Files\Storage\Storage {
if (!isset($this->watcher)) {
$this->watcher = new Watcher($storage);
$globalPolicy = \OC::$server->getConfig()->getSystemValue('filesystem_check_changes', Watcher::CHECK_ONCE);
- $this->watcher->setPolicy($this->getMountOption('filesystem_check_changes', $globalPolicy));
+ $this->watcher->setPolicy((int)$this->getMountOption('filesystem_check_changes', $globalPolicy));
}
return $this->watcher;
}