diff --git a/lib/private/user/user.php b/lib/private/user/user.php index a9e32b5d59..b4f33fa73c 100644 --- a/lib/private/user/user.php +++ b/lib/private/user/user.php @@ -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; }