diff options
author | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2015-03-26 21:36:34 +0000 |
---|---|---|
committer | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2015-03-26 21:36:34 +0000 |
commit | c2909355bf66c92e46c9fbea39497ba91dbe37a0 (patch) | |
tree | c832f4ba40ba1728ddd82bc5684ca6b4aa9eb3b6 /lib | |
parent | fc59a37ae7e28ad8ef7a0a383e87024ff942408d (diff) | |
parent | 58b4c2c0e53ff5ef6e261426ecb2b94d9791da71 (diff) | |
download | nextcloud-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.php | 2 |
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; } |