summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-05-18 11:09:46 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-05-18 12:55:38 +0200
commitea33b4aaa104252ff344e93a434e6c2eedcf438b (patch)
tree62ae4def70838538b29a758d3a11c8e3efcf0b23 /apps
parent253f101b392bdc65c0ca9fb7ab1ddf217300ec4c (diff)
downloadnextcloud-server-ea33b4aaa104252ff344e93a434e6c2eedcf438b.tar.gz
nextcloud-server-ea33b4aaa104252ff344e93a434e6c2eedcf438b.zip
LDAP: don't make us of global constants (completing, was removed with latest additions to update.php)
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/settings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php
index 835b6a04e22..9c0620578be 100644
--- a/apps/user_ldap/settings.php
+++ b/apps/user_ldap/settings.php
@@ -52,8 +52,8 @@ foreach($params as $param){
}
// settings with default values
-$tmpl->assign( 'ldap_port', OCP\Config::getAppValue('user_ldap', 'ldap_port', OC_USER_BACKEND_LDAP_DEFAULT_PORT));
-$tmpl->assign( 'ldap_display_name', OCP\Config::getAppValue('user_ldap', 'ldap_display_name', OC_USER_BACKEND_LDAP_DEFAULT_DISPLAY_NAME));
+$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_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')));