removing exception when trying to call connection twice
This commit is contained in:
parent
e43e7d2a5c
commit
6f4b4e0e01
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user