From 25e777ef5e9c68ac45d32b71a0174febf74d47ef Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sun, 5 Feb 2012 01:25:36 +0100 Subject: watch for changes outside owncloud to the files --- lib/filesystem.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/filesystem.php') 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 -- cgit v1.2.3