Removing a call to _error in DbMySql.php because it's no longer needed with exceptions
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 14 Aug 2007 01:44:39 +0000 (01:44 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 14 Aug 2007 01:44:39 +0000 (01:44 +0000)
* DbMySql.php:
(DbMySql::_selectDb)

DbMySql.php

index 80c6fb436f6bada3d044aaef578564cb5d5465e9..94e59a70d1d3f497ac266268decde19c1361e6c5 100644 (file)
@@ -68,7 +68,6 @@ class BSDbMySql extends BSDb
                if (!mysql_select_db($database, $link))
                {
                        throw new BSDbException($this->_errorString(), $this->_errorNumber(), 'Cannot use the database ' . $database);
-                       $this->_error('Cannot use the database "' . $database . '"');
                }
        }