Commit 6f4b4e0e authored by pookey's avatar pookey

removing exception when trying to call connection twice

parent e43e7d2a
......@@ -197,7 +197,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
if ($name !== null) {
$name = (string) $name;
if (isset($this->connections[$name])) {
throw new Doctrine_Manager_Exception("Connection with $name already exists!");
return $this->connections[$name];
}
} else {
$name = $this->index;
......
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