summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-14 22:21:37 +0100
committerGitHub <noreply@github.com>2018-01-14 22:21:37 +0100
commit419de27b6ded8959d6f9d519d2a142b189d4ae08 (patch)
treefe9a5e917072b7b7bc5bef35fd09b87bbcd19c26 /apps/user_ldap/appinfo
parentc0c42635465cc2731912f44d3f64eb64edfe77bb (diff)
parent647ce91395afcc907b5026724b52dbb5cf5c80cc (diff)
downloadnextcloud-server-419de27b6ded8959d6f9d519d2a142b189d4ae08.tar.gz
nextcloud-server-419de27b6ded8959d6f9d519d2a142b189d4ae08.zip
Merge pull request #7840 from nextcloud/dep_config
Remove deprecated \OCP\Config
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);