add getOwner impementation to Home Storage

This commit is contained in:
Jörn Friedrich Dreyer 2013-12-16 21:24:43 +01:00
parent 98db90ba70
commit 65fa896bc2

View file

@ -63,4 +63,14 @@ class Home extends Local {
public function getUser() {
return $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->getUser()->getUID();
}
}