Skip to content
Snippets Groups Projects
Commit f23b7a26 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix fallback overwriting result of getHome

parent 366d75e9
Branches
No related tags found
No related merge requests found
......@@ -141,9 +141,10 @@ 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
}
}
return $this->home;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment