summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-17 11:12:37 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-17 11:12:37 +0100
commitd41082f4d625ae5aa053e6f038fa498517e45ef0 (patch)
tree5d8dd7c9e8699daa4a7dbf57fa2fe57bc444a83f /apps/user_ldap/user_ldap.php
parent5b9c453071fe900529cd26b88fbc681d8b153b43 (diff)
downloadnextcloud-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.php2
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);