summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/settings.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-09-26 22:31:57 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-10-17 19:13:14 +0200
commit652caa1c88a7e341fe9dc46a5c98c16663ac5f3c (patch)
treeb1fe04ebe276e3e29650d9dc52f3348e0a3ce4fa /apps/user_ldap/settings.php
parent02f292d0fdb3bdc2501364bf0dff96e1e2fcf502 (diff)
downloadnextcloud-server-652caa1c88a7e341fe9dc46a5c98c16663ac5f3c.tar.gz
nextcloud-server-652caa1c88a7e341fe9dc46a5c98c16663ac5f3c.zip
LDAP: move Configuration out of Connection into class of its own. The new wizard requires it.
Diffstat (limited to 'apps/user_ldap/settings.php')
-rw-r--r--apps/user_ldap/settings.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php
index f20bc191183..45d874eff00 100644
--- a/apps/user_ldap/settings.php
+++ b/apps/user_ldap/settings.php
@@ -37,7 +37,8 @@ $tmpl->assign('serverConfigurationPrefixes', $prefixes);
$tmpl->assign('serverConfigurationHosts', $hosts);
// assign default values
-$defaults = \OCA\user_ldap\lib\Connection::getDefaults();
+$config = new \OCA\user_ldap\lib\Configuration('', false);
+$defaults = $config->getDefaults();
foreach($defaults as $key => $default) {
$tmpl->assign($key.'_default', $default);
}