diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-07-03 07:57:31 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-07-03 07:57:31 +0200 |
commit | f70791653cefc40f640e48dcad489237b750d85c (patch) | |
tree | 91776514eed764881bee7243505e730978ca3036 /lib/private/files/filesystem.php | |
parent | b8f5b2c47a66e46940f68ede5bd14252d65e559d (diff) | |
parent | 57945dbc4b0144bdebeda5cf15a168556118e9e3 (diff) | |
download | nextcloud-server-f70791653cefc40f640e48dcad489237b750d85c.tar.gz nextcloud-server-f70791653cefc40f640e48dcad489237b750d85c.zip |
Merge pull request #17291 from owncloud/mount-manager-public
expose the mount manager in the public api
Diffstat (limited to 'lib/private/files/filesystem.php')
-rw-r--r-- | lib/private/files/filesystem.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php index 90019b649c4..babf1c7d4ea 100644 --- a/lib/private/files/filesystem.php +++ b/lib/private/files/filesystem.php @@ -343,7 +343,7 @@ class Filesystem { self::$defaultInstance = new View($root); if (!self::$mounts) { - self::$mounts = new Mount\Manager(); + self::$mounts = \OC::$server->getMountManager(); } //load custom mount config @@ -356,7 +356,7 @@ class Filesystem { static public function initMountManager() { if (!self::$mounts) { - self::$mounts = new Mount\Manager(); + self::$mounts = \OC::$server->getMountManager(); } } |