fix fallback overwriting result of getHome

This commit is contained in:
Robin Appelman 2013-12-12 12:57:25 +01:00
parent 366d75e947
commit f23b7a262f
1 changed files with 2 additions and 1 deletions

View File

@ -141,8 +141,9 @@ class User {
if (!$this->home) {
if ($this->backend->implementsActions(\OC_USER_BACKEND_GET_HOME) and $home = $this->backend->getHome($this->uid)) {
$this->home = $home;
} else {
$this->home = \OC_Config::getValue("datadirectory", \OC::$SERVERROOT . "/data") . '/' . $this->uid; //TODO switch to Config object once implemented
}
$this->home = \OC_Config::getValue("datadirectory", \OC::$SERVERROOT . "/data") . '/' . $this->uid; //TODO switch to Config object once implemented
}
return $this->home;
}