getDbh() now auto-connects
This commit is contained in:
parent
ad21df553d
commit
f86ac4c8e2
@ -310,6 +310,8 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
|
||||
*/
|
||||
public function getDbh()
|
||||
{
|
||||
$this->connect();
|
||||
|
||||
return $this->dbh;
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user