[Pkg-owncloud-commits] [owncloud] 70/83: add getOwner to Home Storage

David Prévot taffit at moszumanska.debian.org
Wed Dec 18 13:05:33 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch 5.0
in repository owncloud.

commit b02a15ceb8dd23a9e07df8a098bfae4a9f13df0d
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date:   Mon Dec 16 16:58:01 2013 +0100

    add getOwner to Home Storage
---
 lib/files/storage/home.php | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/lib/files/storage/home.php b/lib/files/storage/home.php
index 533fe5f..82924f9 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;
+	}
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list