diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-12-16 16:58:01 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-12-16 16:58:01 +0100 |
commit | b02a15ceb8dd23a9e07df8a098bfae4a9f13df0d (patch) | |
tree | e30f56964b9f52d5032dde072f8394181ff8a8ca | |
parent | e98e98f38d005f47d9656b9fd418a106f1af5134 (diff) | |
download | nextcloud-server-b02a15ceb8dd23a9e07df8a098bfae4a9f13df0d.tar.gz nextcloud-server-b02a15ceb8dd23a9e07df8a098bfae4a9f13df0d.zip |
add getOwner to Home Storage
-rw-r--r-- | lib/files/storage/home.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/files/storage/home.php b/lib/files/storage/home.php index 533fe5fe390..82924f9869a 100644 --- a/lib/files/storage/home.php +++ b/lib/files/storage/home.php @@ -28,4 +28,14 @@ class Home extends Local { public function getId() { return 'home::' . $this->user; } + + /** + * get the owner of a path + * + * @param string $path The path to get the owner + * @return string uid or false + */ + public function getOwner($path) { + return $this->user; + } } |