fix c&p fail from earlier commit today
This commit is contained in:
parent
faf702b9e6
commit
5586054961
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue