diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-12-12 12:57:25 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-12-12 12:57:25 +0100 |
commit | f23b7a262fe4582baf75f9fb968b716c2da3071c (patch) | |
tree | eddaaed131f6dc2bc436baefb6f7dd629324ec2b /lib/private/user/user.php | |
parent | 366d75e9479b1ac2b52b6a37389a4aa107b059e3 (diff) | |
download | nextcloud-server-f23b7a262fe4582baf75f9fb968b716c2da3071c.tar.gz nextcloud-server-f23b7a262fe4582baf75f9fb968b716c2da3071c.zip |
fix fallback overwriting result of getHome
Diffstat (limited to 'lib/private/user/user.php')
-rw-r--r-- | lib/private/user/user.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/user/user.php b/lib/private/user/user.php index a9e32b5d597..b4f33fa73cc 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; } |