Commit a6cf587c authored by zYne's avatar zYne

--no commit message

--no commit message
parent 953355c2
......@@ -92,7 +92,7 @@ class Doctrine_Db implements Countable, IteratorAggregate, Doctrine_Adapter_Inte
* @param string $user database username
* @param string $pass database password
*/
public function __construct($dsn, $user, $pass)
public function __construct($dsn, $user = null, $pass = null)
{
if ( ! isset($user)) {
$a = self::parseDSN($dsn);
......
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