summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-14 22:16:48 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-14 22:16:48 +0100
commit1ef2ecd6e84321056f654e8634d8df5adbfb18d0 (patch)
tree489ee011a6c53e78e80fd2225ef1fcee7530d7e9 /apps/user_ldap/ajax
parentbfe6334cd9d50ce99f0a6fd02c1aa0dc43b2b7e9 (diff)
downloadnextcloud-server-1ef2ecd6e84321056f654e8634d8df5adbfb18d0.tar.gz
nextcloud-server-1ef2ecd6e84321056f654e8634d8df5adbfb18d0.zip
Style cleanup user_ldap
Diffstat (limited to 'apps/user_ldap/ajax')
-rw-r--r--apps/user_ldap/ajax/testConfiguration.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/user_ldap/ajax/testConfiguration.php b/apps/user_ldap/ajax/testConfiguration.php
index f8038e31469..cfc07ff263e 100644
--- a/apps/user_ldap/ajax/testConfiguration.php
+++ b/apps/user_ldap/ajax/testConfiguration.php
@@ -32,10 +32,14 @@ $connection = new \OCA\user_ldap\lib\Connection('', null);
if($connection->setConfiguration($_POST)) {
//Configuration is okay
if($connection->bind()) {
- OCP\JSON::success(array('message' => $l->t('The configuration is valid and the connection could be established!')));
+ OCP\JSON::success(array('message'
+ => $l->t('The configuration is valid and the connection could be established!')));
} else {
- OCP\JSON::error(array('message' => $l->t('The configuration is valid, but the Bind failed. Please check the server settings and credentials.')));
+ OCP\JSON::error(array('message'
+ => $l->t('The configuration is valid, but the Bind failed.'
+ .' Please check the server settings and credentials.')));
}
} else {
- OCP\JSON::error(array('message' => $l->t('The configuration is invalid. Please look in the ownCloud log for further details.')));
+ OCP\JSON::error(array('message'
+ => $l->t('The configuration is invalid. Please look in the ownCloud log for further details.')));
}