We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4aec55 commit 1945bfdCopy full SHA for 1945bfd
lib/private/User/Database.php
@@ -466,7 +466,7 @@ public function userExists($uid) {
466
*/
467
public function getHome(string $uid) {
468
if ($this->userExists($uid)) {
469
- return \OCP\Server::get(IConfig::class)->getSystemValueString('datadirectory', \OC::$SERVERROOT . '/data') . '/' . $uid;
+ return $this->config->getSystemValueString('datadirectory', \OC::$SERVERROOT . '/data') . '/' . $uid;
470
}
471
472
return false;
0 commit comments