summaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-08-19 02:42:15 +0200
committerRobin Appelman <icewind@owncloud.com>2012-08-19 02:42:15 +0200
commit154ce0f68ddd7b1d2a173515cf3c3ceab3611a48 (patch)
tree32d0ee226bc542493f1809631d175332f97044de /lib/filesystem.php
parent9b44d0cb32795c5ec645922b204de88c8f33c196 (diff)
downloadnextcloud-server-154ce0f68ddd7b1d2a173515cf3c3ceab3611a48.tar.gz
nextcloud-server-154ce0f68ddd7b1d2a173515cf3c3ceab3611a48.zip
also add getLocalFolder to OC_Filsystem and OC_FilesystemView
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r--lib/filesystem.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index ffb8643d491..6f11cda4fd6 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -336,6 +336,13 @@ class OC_Filesystem{
static public function getLocalFile($path){
return self::$defaultInstance->getLocalFile($path);
}
+ /**
+ * @param string path
+ * @return string
+ */
+ static public function getLocalFolder($path){
+ return self::$defaultInstance->getLocalFolder($path);
+ }
/**
* return path to file which reflects one visible in browser