summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-01-24 13:01:20 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-01-24 13:01:20 +0100
commitfccfdb2a52de89532cbf3417082455e14b7eaf8b (patch)
treeea6b9bdaf2620628011ec642e671725f192f9e86
parentb2ea78c00d203d7a70952dc7dab095cbeafb0b95 (diff)
downloadnextcloud-server-fccfdb2a52de89532cbf3417082455e14b7eaf8b.tar.gz
nextcloud-server-fccfdb2a52de89532cbf3417082455e14b7eaf8b.zip
LPAP: cleanup settings.php, it's already ajaxified
-rw-r--r--apps/user_ldap/settings.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php
index a6e8bd5512b..5b679683f27 100644
--- a/apps/user_ldap/settings.php
+++ b/apps/user_ldap/settings.php
@@ -40,21 +40,6 @@ OCP\Util::addstyle('user_ldap', 'settings');
// fill template
$tmpl = new OCP\Template('user_ldap', 'settings');
-foreach($params as $param) {
- $value = OCP\Config::getAppValue('user_ldap', $param, '');
- $tmpl->assign($param, $value);
-}
-
-// settings with default values
-$tmpl->assign('ldap_port', OCP\Config::getAppValue('user_ldap', 'ldap_port', '389'));
-$tmpl->assign('ldap_display_name', OCP\Config::getAppValue('user_ldap', 'ldap_display_name', 'uid'));
-$tmpl->assign('ldap_group_display_name', OCP\Config::getAppValue('user_ldap', 'ldap_group_display_name', 'cn'));
-$tmpl->assign('ldap_group_member_assoc_attribute', OCP\Config::getAppValue('user_ldap', 'ldap_group_member_assoc_attribute', 'uniqueMember'));
-$tmpl->assign('ldap_agent_password', base64_decode(OCP\Config::getAppValue('user_ldap', 'ldap_agent_password')));
-$tmpl->assign('ldap_cache_ttl', OCP\Config::getAppValue('user_ldap', 'ldap_cache_ttl', '600'));
-$hfnr = OCP\Config::getAppValue('user_ldap', 'home_folder_naming_rule', 'opt:username');
-$hfnr = ($hfnr == 'opt:username') ? '' : substr($hfnr, strlen('attr:'));
-$tmpl->assign('home_folder_naming_rule', $hfnr, '');
$prefixes = \OCA\user_ldap\lib\Helper::getServerConfigurationPrefixes();
$scoHtml = '';