From: <ch...@us...> - 2011-06-17 03:09:56
|
Revision: 34959 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=34959&view=rev Author: chealer Date: 2011-06-17 03:09:50 +0000 (Fri, 17 Jun 2011) Log Message: ----------- LDAP: remove too early catch from r29739 Ref: http://article.gmane.org/gmane.comp.cms.tiki.cvs/64230 Modified Paths: -------------- trunk/lib/auth/ldap.php Modified: trunk/lib/auth/ldap.php =================================================================== --- trunk/lib/auth/ldap.php 2011-06-17 02:49:58 UTC (rev 34958) +++ trunk/lib/auth/ldap.php 2011-06-17 03:09:50 UTC (rev 34959) @@ -471,13 +471,11 @@ */ public function setOption ($name, $value = null) { - try { - if (isset($this->options[$name])) { - $this->options[$name] = $value; - } else { - throw new Exception(sprintf("Undefined option: %s \n", $name), E_USER_WARNING); - } - } catch (Exception $e) { } + if (isset($this->options[$name])) { + $this->options[$name] = $value; + } else { + throw new Exception(sprintf("Undefined option: %s \n", $name), E_USER_WARNING); + } } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |