aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-12 16:37:49 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-25 16:04:59 +0200
commitaa7b6003834ec26f777443c9b28d808f098c2e29 (patch)
tree16c32dfa56dd03e2bfb9ca092ef675d13466e29e /apps/user_ldap/ajax
parentaf0a6961b1ae867e354ecf71d61708af9618c44f (diff)
downloadnextcloud-server-aa7b6003834ec26f777443c9b28d808f098c2e29.tar.gz
nextcloud-server-aa7b6003834ec26f777443c9b28d808f098c2e29.zip
Move Configuration to PSR-4
Diffstat (limited to 'apps/user_ldap/ajax')
-rw-r--r--apps/user_ldap/ajax/getNewServerConfigPrefix.php6
-rw-r--r--apps/user_ldap/ajax/wizard.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/user_ldap/ajax/getNewServerConfigPrefix.php b/apps/user_ldap/ajax/getNewServerConfigPrefix.php
index 3820c05d9d6..18407126fbf 100644
--- a/apps/user_ldap/ajax/getNewServerConfigPrefix.php
+++ b/apps/user_ldap/ajax/getNewServerConfigPrefix.php
@@ -34,12 +34,12 @@ $nk = 's'.str_pad($ln+1, 2, '0', STR_PAD_LEFT);
$resultData = array('configPrefix' => $nk);
-$newConfig = new \OCA\user_ldap\lib\Configuration($nk, false);
+$newConfig = new \OCA\User_LDAP\Configuration($nk, false);
if(isset($_POST['copyConfig'])) {
- $originalConfig = new \OCA\user_ldap\lib\Configuration($_POST['copyConfig']);
+ $originalConfig = new \OCA\User_LDAP\Configuration($_POST['copyConfig']);
$newConfig->setConfiguration($originalConfig->getConfiguration());
} else {
- $configuration = new \OCA\user_ldap\lib\Configuration($nk, false);
+ $configuration = new \OCA\User_LDAP\Configuration($nk, false);
$newConfig->setConfiguration($configuration->getDefaults());
$resultData['defaults'] = $configuration->getDefaults();
}
diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php
index 1d0f6000666..6a67e2a1fd0 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -42,7 +42,7 @@ if(!isset($_POST['ldap_serverconfig_chooser'])) {
$prefix = (string)$_POST['ldap_serverconfig_chooser'];
$ldapWrapper = new \OCA\User_LDAP\LDAP();
-$configuration = new \OCA\user_ldap\lib\Configuration($prefix);
+$configuration = new \OCA\User_LDAP\Configuration($prefix);
$con = new \OCA\User_LDAP\Connection($ldapWrapper, '', null);
$con->setConfiguration($configuration->getConfiguration());