summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-01-13 14:25:04 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-01-13 14:25:04 +0100
commit8a41d05761a14292ab0457f4143bb84d237bbcbd (patch)
treef74f20625fd4e693f29431e39b7b2c69a9f06980 /apps/user_ldap/appinfo
parent1faef0c459a51a025f73f7eee46e5607ee6eedf5 (diff)
downloadnextcloud-server-8a41d05761a14292ab0457f4143bb84d237bbcbd.tar.gz
nextcloud-server-8a41d05761a14292ab0457f4143bb84d237bbcbd.zip
Remove deprecated \OCP\Config
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r--apps/user_ldap/appinfo/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/appinfo/install.php b/apps/user_ldap/appinfo/install.php
index f0701c66455..3166055395e 100644
--- a/apps/user_ldap/appinfo/install.php
+++ b/apps/user_ldap/appinfo/install.php
@@ -25,7 +25,7 @@
$config = \OC::$server->getConfig();
$state = $config->getSystemValue('ldapIgnoreNamingRules', 'doSet');
if($state === 'doSet') {
- OCP\Config::setSystemValue('ldapIgnoreNamingRules', false);
+ \OC::$server->getConfig()->setSystemValue('ldapIgnoreNamingRules', false);
}
$helper = new \OCA\User_LDAP\Helper($config);