summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax/getNewServerConfigPrefix.php
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/getNewServerConfigPrefix.php
parentaf0a6961b1ae867e354ecf71d61708af9618c44f (diff)
downloadnextcloud-server-aa7b6003834ec26f777443c9b28d808f098c2e29.tar.gz
nextcloud-server-aa7b6003834ec26f777443c9b28d808f098c2e29.zip
Move Configuration to PSR-4
Diffstat (limited to 'apps/user_ldap/ajax/getNewServerConfigPrefix.php')
-rw-r--r--apps/user_ldap/ajax/getNewServerConfigPrefix.php6
1 files changed, 3 insertions, 3 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();
}