1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-08 15:16:58 +02:00

- consolidating the aliases for the connection parameters

This commit is contained in:
David Grudl
2009-07-13 20:13:48 +00:00
parent fb026ef45d
commit 18a7665bec
8 changed files with 4 additions and 20 deletions

View File

@@ -66,9 +66,6 @@ class DibiOdbcDriver extends DibiObject implements IDibiDriver
*/
public function connect(array &$config)
{
DibiConnection::alias($config, 'username', 'user');
DibiConnection::alias($config, 'password', 'pass');
if (isset($config['resource'])) {
$this->connection = $config['resource'];
} else {