]> source.dussan.org Git - nextcloud-server.git/commitdiff
add getOwner to Home Storage
authorJörn Friedrich Dreyer <jfd@butonic.de>
Mon, 16 Dec 2013 15:58:01 +0000 (16:58 +0100)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Mon, 16 Dec 2013 15:58:01 +0000 (16:58 +0100)
lib/files/storage/home.php

index 533fe5fe390012ae469afceabbd8b86b9dedb4d4..82924f9869a35cecc8b11e0913c0274c6bcedc28 100644 (file)
@@ -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;
+       }
 }