diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-01-14 22:21:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-14 22:21:37 +0100 |
commit | 419de27b6ded8959d6f9d519d2a142b189d4ae08 (patch) | |
tree | fe9a5e917072b7b7bc5bef35fd09b87bbcd19c26 /apps/user_ldap/appinfo | |
parent | c0c42635465cc2731912f44d3f64eb64edfe77bb (diff) | |
parent | 647ce91395afcc907b5026724b52dbb5cf5c80cc (diff) | |
download | nextcloud-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.php | 2 |
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); |