summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax/getNewServerConfigPrefix.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/ajax/getNewServerConfigPrefix.php')
-rw-r--r--apps/user_ldap/ajax/getNewServerConfigPrefix.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/user_ldap/ajax/getNewServerConfigPrefix.php b/apps/user_ldap/ajax/getNewServerConfigPrefix.php
index c0c81be14d7..b0e6ce31a83 100644
--- a/apps/user_ldap/ajax/getNewServerConfigPrefix.php
+++ b/apps/user_ldap/ajax/getNewServerConfigPrefix.php
@@ -24,9 +24,9 @@
*/
// Check user and app status
-OCP\JSON::checkAdminUser();
-OCP\JSON::checkAppEnabled('user_ldap');
-OCP\JSON::callCheck();
+\OC_JSON::checkAdminUser();
+\OC_JSON::checkAppEnabled('user_ldap');
+\OC_JSON::callCheck();
$helper = new \OCA\User_LDAP\Helper(\OC::$server->getConfig());
$serverConnections = $helper->getServerConfigurationPrefixes();
@@ -48,4 +48,4 @@ if(isset($_POST['copyConfig'])) {
}
$newConfig->saveConfiguration();
-OCP\JSON::success($resultData);
+\OC_JSON::success($resultData);