summaryrefslogtreecommitdiffstats
path: root/lib/user/example.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-08-26 16:24:25 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-08-26 16:24:25 +0200
commit5a4854079fbf9c6b359c1c9afdaeb5c6e19609e8 (patch)
tree296c65980f5202881c302c1205943e0ba5d23965 /lib/user/example.php
parent80374c7cb2f3c98e350c95f92a9785aacef5d2c4 (diff)
downloadnextcloud-server-5a4854079fbf9c6b359c1c9afdaeb5c6e19609e8.tar.gz
nextcloud-server-5a4854079fbf9c6b359c1c9afdaeb5c6e19609e8.zip
implement getHome in OC_User
Diffstat (limited to 'lib/user/example.php')
-rw-r--r--lib/user/example.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/user/example.php b/lib/user/example.php
index 77246d8136c..b2d0dc25410 100644
--- a/lib/user/example.php
+++ b/lib/user/example.php
@@ -57,4 +57,14 @@ abstract class OC_User_Example extends OC_User_Backend {
* returns the user id or false
*/
abstract public function checkPassword($uid, $password);
+
+ /**
+ * @brief get the user's home directory
+ * @param $uid The username
+ * @returns string
+ *
+ * get the user's home directory
+ * returns the path or false
+ */
+ abstract public function getHome($uid);
}