summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-10-07 18:03:54 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-10-17 19:13:27 +0200
commite87b091536a9663f071755df4ec25576d3b4327e (patch)
tree99bf1b091ef29b7c4b732c16a9fbe6303a96f9df /apps/user_ldap
parent87bd5a2bbb9f843f6045709294c26eb51aa55607 (diff)
downloadnextcloud-server-e87b091536a9663f071755df4ec25576d3b4327e.tar.gz
nextcloud-server-e87b091536a9663f071755df4ec25576d3b4327e.zip
cleanup and coding style
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/wizard.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php
index a6bc4417920..69354c69229 100644
--- a/apps/user_ldap/lib/wizard.php
+++ b/apps/user_ldap/lib/wizard.php
@@ -341,7 +341,8 @@ class Wizard extends LDAPUtility {
$dnRead = array();
$foundItems = array();
$maxEntries = 0;
- if(!is_array($this->configuration->ldapBase) || !isset($this->configuration->ldapBase[0])) {
+ if(!is_array($this->configuration->ldapBase)
+ || !isset($this->configuration->ldapBase[0])) {
return false;
}
$base = $this->configuration->ldapBase[0];
@@ -355,7 +356,6 @@ class Wizard extends LDAPUtility {
}
$rr = $this->ldap->search($cr, $base, $filter, array($attr));
if(!$this->ldap->isResource($rr)) {
- \OCP\Util::writeLog('user_ldap', 'Search failed, Base '.$base, \OCP\Util::DEBUG);
continue;
}
$entries = $this->ldap->countEntries($cr, $rr);