summaryrefslogtreecommitdiffstats
path: root/lib/files/filesystem.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-02-02 18:50:40 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-02-02 18:50:40 -0500
commit6093d961a09022c289b34daebecc8ee88c31a50b (patch)
treea256698015885e1b3ab226f4a0d92f7834e2e088 /lib/files/filesystem.php
parent23166aa016a85c237de6f4f532578dfbef0fe09b (diff)
downloadnextcloud-server-6093d961a09022c289b34daebecc8ee88c31a50b.tar.gz
nextcloud-server-6093d961a09022c289b34daebecc8ee88c31a50b.zip
Add getOwner to Filesystem and View classes
Diffstat (limited to 'lib/files/filesystem.php')
-rw-r--r--lib/files/filesystem.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index 262fde320a1..c00b42d9c44 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -611,6 +611,16 @@ class Filesystem {
}
/**
+ * Get the owner for a file or folder
+ *
+ * @param string $path
+ * @return string
+ */
+ public static function getOwner($path) {
+ return self::$defaultInstance->getOwner($path);
+ }
+
+ /**
* get the ETag for a file or folder
*
* @param string $path