fix c&p fail from earlier commit today

remotes/origin/stable45
Georg Ehrke 14 years ago
parent faf702b9e6
commit 5586054961
  1. 2
      lib/user.php
  2. 2
      lib/user/database.php
  3. 2
      lib/user/http.php

@ -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…
Cancel
Save