summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-01-10 23:30:26 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-01-10 23:30:26 +0100
commit0784bcb8d74214448e3908e8c05a8c6be38ef457 (patch)
tree1abb97f42027f378e4da213ee88558b4f8994aed /apps/user_ldap/ajax
parent4a8c25eef508342fe919823b575b2de02072a379 (diff)
downloadnextcloud-server-0784bcb8d74214448e3908e8c05a8c6be38ef457.tar.gz
nextcloud-server-0784bcb8d74214448e3908e8c05a8c6be38ef457.zip
introduce configPrefix to allow settings for multiple LDAP servers
Diffstat (limited to 'apps/user_ldap/ajax')
-rw-r--r--apps/user_ldap/ajax/testConfiguration.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/ajax/testConfiguration.php b/apps/user_ldap/ajax/testConfiguration.php
index a82f7e4c17b..fd72485268f 100644
--- a/apps/user_ldap/ajax/testConfiguration.php
+++ b/apps/user_ldap/ajax/testConfiguration.php
@@ -4,7 +4,7 @@
* ownCloud - user_ldap
*
* @author Arthur Schiwon
- * @copyright 2012 Arthur Schiwon blizzz@owncloud.com
+ * @copyright 2012, 2013 Arthur Schiwon blizzz@owncloud.com
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
@@ -26,7 +26,7 @@ OCP\JSON::checkAdminUser();
OCP\JSON::checkAppEnabled('user_ldap');
OCP\JSON::callCheck();
-$connection = new \OCA\user_ldap\lib\Connection(null);
+$connection = new \OCA\user_ldap\lib\Connection('', null);
if($connection->setConfiguration($_POST)) {
//Configuration is okay
if($connection->bind()) {