summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/helper.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-12-03 16:41:23 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-12-03 16:41:23 +0100
commitc60c793cf2c179838710946c5db31b3f26b645b4 (patch)
treef340f2025db994b34415988c17200c473a3f2501 /apps/user_ldap/lib/helper.php
parent1fe7957fd0210c6a3f6ad5c810f1ba5814ff68d6 (diff)
downloadnextcloud-server-c60c793cf2c179838710946c5db31b3f26b645b4.tar.gz
nextcloud-server-c60c793cf2c179838710946c5db31b3f26b645b4.zip
More cleanups of OC_Config usage
Diffstat (limited to 'apps/user_ldap/lib/helper.php')
-rw-r--r--apps/user_ldap/lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/helper.php b/apps/user_ldap/lib/helper.php
index f05a4afad2c..c189e753853 100644
--- a/apps/user_ldap/lib/helper.php
+++ b/apps/user_ldap/lib/helper.php
@@ -62,7 +62,7 @@ class Helper {
';
if($activeConfigurations) {
- if (\OC_Config::getValue( 'dbtype', 'sqlite' ) === 'oci') {
+ if (\OC::$server->getConfig()->getSystemValue( 'dbtype', 'sqlite' ) === 'oci') {
//FIXME oracle hack: need to explicitly cast CLOB to CHAR for comparison
$sql .= ' AND to_char(`configvalue`)=\'1\'';
} else {