remove echo of error-message of failed ldap connection, it scares users when flushing cache in setup

This commit is contained in:
Ralf Becker 2013-04-23 13:31:03 +00:00
parent 0daf34ae79
commit 93576a8bd0

View File

@ -146,8 +146,6 @@ class ldap
// give visible error, only if we cant connect to any ldap server
if ($this->exception_on_error) throw new egw_exception_no_permission("Can't connect/bind to LDAP server '$host' and dn='$dn'!");
echo "<p><b>Error: Can't connect/bind to LDAP server '$host' and dn='$dn'!</b><br />".function_backtrace()."</p>\n";
return false;
}