[Cs-webapplibs-commits] SF.net SVN: cs-webapplibs:[134] trunk/0.3/db_types
Status: Beta
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-08-24 15:35:04
|
Revision: 134 http://cs-webapplibs.svn.sourceforge.net/cs-webapplibs/?rev=134&view=rev Author: crazedsanity Date: 2009-08-24 15:34:54 +0000 (Mon, 24 Aug 2009) Log Message: ----------- Stop throwing exceptions if a connection parameter isn't required & isn't set internally (just ignore it). Modified Paths: -------------- trunk/0.3/db_types/cs_phpDB__mysql.class.php trunk/0.3/db_types/cs_phpDB__pgsql.class.php trunk/0.3/db_types/cs_phpDB__sqlite.class.php Modified: trunk/0.3/db_types/cs_phpDB__mysql.class.php =================================================================== --- trunk/0.3/db_types/cs_phpDB__mysql.class.php 2009-08-21 16:45:10 UTC (rev 133) +++ trunk/0.3/db_types/cs_phpDB__mysql.class.php 2009-08-24 15:34:54 UTC (rev 134) @@ -103,10 +103,6 @@ $this->$index = $value; $requiredCount++; } - else { - throw new exception(__METHOD__. ": property (". $index .") does " . - "not exist or isn't allowed"); - } } if($requiredCount == count($required)) { Modified: trunk/0.3/db_types/cs_phpDB__pgsql.class.php =================================================================== --- trunk/0.3/db_types/cs_phpDB__pgsql.class.php 2009-08-21 16:45:10 UTC (rev 133) +++ trunk/0.3/db_types/cs_phpDB__pgsql.class.php 2009-08-24 15:34:54 UTC (rev 134) @@ -121,10 +121,6 @@ $this->$index = $params[$index]; $requiredCount++; } - else { - $this->gfObj->debug_print($params,1); - throw new exception(__METHOD__. ": property (". $index .") missing"); - } } if($requiredCount == count($required)) { Modified: trunk/0.3/db_types/cs_phpDB__sqlite.class.php =================================================================== --- trunk/0.3/db_types/cs_phpDB__sqlite.class.php 2009-08-21 16:45:10 UTC (rev 133) +++ trunk/0.3/db_types/cs_phpDB__sqlite.class.php 2009-08-24 15:34:54 UTC (rev 134) @@ -91,10 +91,6 @@ $this->$index = $value; $requiredCount++; } - else { - throw new exception(__METHOD__. ": property (". $index .") does " . - "not exist or isn't allowed"); - } } if($requiredCount == count($required)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |