diff options
Diffstat (limited to 'lib/filestorage/common.php')
-rw-r--r-- | lib/filestorage/common.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/filestorage/common.php b/lib/filestorage/common.php index 351714437c5..7028df1eb02 100644 --- a/lib/filestorage/common.php +++ b/lib/filestorage/common.php @@ -279,4 +279,13 @@ abstract class OC_Filestorage_Common extends OC_Filestorage { public function hasUpdated($path,$time) { return $this->filemtime($path)>$time; } + + /** + * get the owner of a path + * @param $path The path to get the owner + * @return string uid or false + */ + public function getOwner($path) { + return OC_User::getUser(); + } } |