From: Arthur Schiwon Date: Mon, 7 Oct 2013 16:03:54 +0000 (+0200) Subject: cleanup and coding style X-Git-Tag: v6.0.0beta2~46^2~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e87b091536a9663f071755df4ec25576d3b4327e;p=nextcloud-server.git cleanup and coding style --- 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);