fix c&p fail from earlier commit today

This commit is contained in:
Georg Ehrke 2012-08-26 21:57:05 +02:00
parent faf702b9e6
commit 5586054961
3 changed files with 3 additions and 3 deletions

View file

@ -350,7 +350,7 @@ class OC_User {
}
}
}
return OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" ) . '/' . $user;
return OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" ) . '/' . $uid;
}
/**

View file

@ -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;
}

View file

@ -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;
}