Commit eebe47f0 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 4a020a90
......@@ -204,7 +204,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
$this->index++;
}
switch ($adapter->getAttribute(PDO::ATTR_DRIVER_NAME)) {
switch ($adapter->getAttribute(Doctrine::ATTR_DRIVER_NAME)) {
case 'mysql':
$this->connections[$name] = new Doctrine_Connection_Mysql($this, $adapter);
break;
......@@ -250,7 +250,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
if ( ! isset($this->connections[$name])) {
throw new Doctrine_Manager_Exception('Unknown connection: ' . $name);
}
$this->currIndex = $name;
return $this->connections[$name];
}
/**
......
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