Commit a016cb19 authored by Jonathan.Wage's avatar Jonathan.Wage

Removing resource from drivers.

parent 84b16ff7
...@@ -289,8 +289,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera ...@@ -289,8 +289,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
'dblib' => 'Doctrine_Connection_Mssql', 'dblib' => 'Doctrine_Connection_Mssql',
'firebird' => 'Doctrine_Connection_Firebird', 'firebird' => 'Doctrine_Connection_Firebird',
'informix' => 'Doctrine_Connection_Informix', 'informix' => 'Doctrine_Connection_Informix',
'mock' => 'Doctrine_Connection_Mock', 'mock' => 'Doctrine_Connection_Mock');
'resource' => 'Doctrine_Connection_Resource');
if ( ! isset($drivers[$driverName])) { if ( ! isset($drivers[$driverName])) {
throw new Doctrine_Manager_Exception('Unknown driver ' . $driverName); throw new Doctrine_Manager_Exception('Unknown driver ' . $driverName);
} }
...@@ -328,7 +327,6 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera ...@@ -328,7 +327,6 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
} }
switch ($parts['scheme']) { switch ($parts['scheme']) {
case 'resource':
case 'sqlite': case 'sqlite':
case 'sqlite2': case 'sqlite2':
case 'sqlite3': case 'sqlite3':
......
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