diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-12-17 11:12:37 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-17 11:12:37 +0100 |
commit | d41082f4d625ae5aa053e6f038fa498517e45ef0 (patch) | |
tree | 5d8dd7c9e8699daa4a7dbf57fa2fe57bc444a83f /apps/user_ldap/user_ldap.php | |
parent | 5b9c453071fe900529cd26b88fbc681d8b153b43 (diff) | |
download | nextcloud-server-d41082f4d625ae5aa053e6f038fa498517e45ef0.tar.gz nextcloud-server-d41082f4d625ae5aa053e6f038fa498517e45ef0.zip |
first step to drop \OCP\Config:: in favour of IConfig
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r-- | apps/user_ldap/user_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php index 52278082312..6c7db662ffb 100644 --- a/apps/user_ldap/user_ldap.php +++ b/apps/user_ldap/user_ldap.php @@ -199,7 +199,7 @@ class USER_LDAP extends BackendUtility implements \OCP\UserInterface { ) { $homedir = $path; } else { - $homedir = \OCP\Config::getSystemValue('datadirectory', + $homedir = \OC::$server->getConfig()->getSystemValue('datadirectory', \OC::$SERVERROOT.'/data' ) . '/' . $homedir[0]; } $this->access->connection->writeToCache($cacheKey, $homedir); |