aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/user.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-18 11:42:09 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-18 11:53:41 +0100
commit6fb60815c581c333106e0fa4845eb25ad6a5223b (patch)
treeabeec0139d55a72b1aee6194e9ebe11f8689c584 /lib/private/user.php
parent0a09004d39b5d27124d59ed45debf109170b24d2 (diff)
downloadnextcloud-server-6fb60815c581c333106e0fa4845eb25ad6a5223b.tar.gz
nextcloud-server-6fb60815c581c333106e0fa4845eb25ad6a5223b.zip
Use SystemConfig internally
Diffstat (limited to 'lib/private/user.php')
-rw-r--r--lib/private/user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/user.php b/lib/private/user.php
index 4e395a3f7a3..cfa60d675fe 100644
--- a/lib/private/user.php
+++ b/lib/private/user.php
@@ -130,7 +130,7 @@ class OC_User {
*/
public static function setupBackends() {
OC_App::loadApps(array('prelogin'));
- $backends = \OC::$config->getValue('user_backends', array());
+ $backends = \OC::$server->getSystemConfig()->getValue('user_backends', array());
foreach ($backends as $i => $config) {
$class = $config['class'];
$arguments = $config['arguments'];
@@ -498,7 +498,7 @@ class OC_User {
if ($user) {
return $user->getHome();
} else {
- return \OC::$config->getValue('datadirectory', OC::$SERVERROOT . '/data') . '/' . $uid;
+ return \OC::$server->getSystemConfig()->getValue('datadirectory', OC::$SERVERROOT . '/data') . '/' . $uid;
}
}