diff options
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r-- | lib/filesystem.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 5062ecf5c18..8e55575e665 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -203,6 +203,14 @@ class OC_Filesystem{ self::$defaultInstance=new OC_FilesystemView($root); self::$loaded=true; } + + /** + * get the default filesystem view + * @return OC_FilesystemView + */ + static public function getView(){ + return self::$defaultInstance; + } /** * tear down the filesystem, removing all storage providers |