diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-07-21 11:32:11 -0700 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-07-21 11:32:11 -0700 |
commit | 37a731bcad4636f682a2cbcc59dabc9e60494b01 (patch) | |
tree | 83236b868be3501785b1a47b343c23f7681c12dd /lib/files/filesystem.php | |
parent | 639097db5945f0631f69441abfa9eaec610d4d8e (diff) | |
parent | 2b89b7c88046f8eb8d2676d0a455ca0d0ba50eeb (diff) | |
download | nextcloud-server-37a731bcad4636f682a2cbcc59dabc9e60494b01.tar.gz nextcloud-server-37a731bcad4636f682a2cbcc59dabc9e60494b01.zip |
Merge pull request #4131 from owncloud/scanner-split
Remove scanner logic from ajax file and place it in it's own class
Diffstat (limited to 'lib/files/filesystem.php')
-rw-r--r-- | lib/files/filesystem.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php index 1bf7270c7f1..d6ebe7d629a 100644 --- a/lib/files/filesystem.php +++ b/lib/files/filesystem.php @@ -148,13 +148,20 @@ class Filesystem { */ private static $loader; - public static function getLoader(){ + public static function getLoader() { if (!self::$loader) { self::$loader = new Loader(); } return self::$loader; } + public static function getMountManager() { + if (!self::$mounts) { + \OC_Util::setupFS(); + } + return self::$mounts; + } + /** * get the mountpoint of the storage object for a path * ( note: because a storage is not always mounted inside the fakeroot, the |