summaryrefslogtreecommitdiffstats
path: root/lib/user/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/user/database.php')
-rw-r--r--lib/user/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user/database.php b/lib/user/database.php
index 12cd804641b..a4cffe5d0c1 100644
--- a/lib/user/database.php
+++ b/lib/user/database.php
@@ -183,7 +183,7 @@ class OC_User_Database extends OC_User_Backend {
*/
public function getHome($uid){
if($this->userExists($uid)){
- return OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" ) . '/' . $user;
+ return OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" ) . '/' . $uid;
}else{
return false;
}