Commit f86ac4c8 authored by zYne's avatar zYne

getDbh() now auto-connects

parent ad21df55
...@@ -310,6 +310,8 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun ...@@ -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;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment