diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-08-26 21:57:05 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-08-26 22:04:31 +0200 |
commit | 55860549616e5527fdd8d0f30e40fa04ceef232a (patch) | |
tree | 779929061fe6470d90a584e0eddc39b8548cfdb9 /lib/user | |
parent | faf702b9e6f1928cb5a9f9d71a411d35d1e5d34b (diff) | |
download | nextcloud-server-55860549616e5527fdd8d0f30e40fa04ceef232a.tar.gz nextcloud-server-55860549616e5527fdd8d0f30e40fa04ceef232a.zip |
fix c&p fail from earlier commit today
Diffstat (limited to 'lib/user')
-rw-r--r-- | lib/user/database.php | 2 | ||||
-rw-r--r-- | lib/user/http.php | 2 |
2 files changed, 2 insertions, 2 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; } diff --git a/lib/user/http.php b/lib/user/http.php index 87f3347a236..547c0201b69 100644 --- a/lib/user/http.php +++ b/lib/user/http.php @@ -98,7 +98,7 @@ class OC_User_HTTP 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; } |