1
0
mirror of synced 2024-12-14 07:06:04 +03:00

getDbh() now auto-connects

This commit is contained in:
zYne 2007-06-25 19:56:15 +00:00
parent ad21df553d
commit f86ac4c8e2

View File

@ -310,6 +310,8 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
*/ */
public function getDbh() public function getDbh()
{ {
$this->connect();
return $this->dbh; return $this->dbh;
} }
/** /**