cvs: pear /MDB MDB.php

From: Date: Sat, 24 Aug 2002 22:23:01 +0000
Subject: cvs: pear /MDB MDB.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5943@lists.php.net to get a copy of this message
lsmith Sat Aug 24 18:23:01 2002 EDT Modified files: /pear/MDB MDB.php Log: made constructor parameters optional Index: pear/MDB/MDB.php diff -u pear/MDB/MDB.php:1.30 pear/MDB/MDB.php:1.31 --- pear/MDB/MDB.php:1.30 Thu Aug 22 07:34:12 2002 +++ pear/MDB/MDB.php Sat Aug 24 18:23:01 2002 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@dybnet.de> | // +----------------------------------------------------------------------+ // -// $Id: MDB.php,v 1.30 2002/08/22 11:34:12 lsmith Exp $ +// $Id: MDB.php,v 1.31 2002/08/24 22:23:01 lsmith Exp $ // require_once 'PEAR.php'; @@ -230,7 +230,7 @@ return PEAR::raiseError(NULL, DB_ERROR_NOT_FOUND, NULL, NULL, NULL, 'MDB_Error', TRUE); } - $db =& new $class_name($dsninfo, $options); + $db =& new $class_name; return $db; }

« previous php.pear.cvs (#5943) next »