diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-09-26 22:31:57 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-10-17 19:13:14 +0200 |
commit | 652caa1c88a7e341fe9dc46a5c98c16663ac5f3c (patch) | |
tree | b1fe04ebe276e3e29650d9dc52f3348e0a3ce4fa /apps/user_ldap/settings.php | |
parent | 02f292d0fdb3bdc2501364bf0dff96e1e2fcf502 (diff) | |
download | nextcloud-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.php | 3 |
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); } |