cvs: pear /DB_NestedSet/NestedSet MDB2.php
| From: | Lorenzo Alberton | Date: | Sat, 17 Sep 2005 12:58:44 +0000 |
| Subject: | cvs: pear /DB_NestedSet/NestedSet MDB2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-34829@lists.php.net to get a copy of this message | ||
quipo Sat Sep 17 08:58:44 2005 EDT
Modified files:
/pear/DB_NestedSet/NestedSet MDB2.php
Log:
- removed pointless reference
- cosmetic fixes
http://cvs.php.net/diff.php/pear/DB_NestedSet/NestedSet/MDB2.php?r1=1.5&r2=1.6&ty=u
Index: pear/DB_NestedSet/NestedSet/MDB2.php
diff -u pear/DB_NestedSet/NestedSet/MDB2.php:1.5 pear/DB_NestedSet/NestedSet/MDB2.php:1.6
--- pear/DB_NestedSet/NestedSet/MDB2.php:1.5 Wed Jun 15 08:38:04 2005
+++ pear/DB_NestedSet/NestedSet/MDB2.php Sat Sep 17 08:58:41 2005
@@ -16,7 +16,7 @@
// | Authors: Lorenzo Alberton <l dot alberton at quipo dot it> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB2.php,v 1.5 2005/06/15 12:38:04 datenpunk Exp $
+// $Id: MDB2.php,v 1.6 2005/09/17 12:58:41 quipo Exp $
//
require_once 'MDB2.php';
@@ -26,7 +26,7 @@
*
* @author Lorenzo Alberton <l dot alberton at quipo dot it>
* @package DB_NestedSet
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @access public
*/
class DB_NestedSet_MDB2 extends DB_NestedSet
@@ -47,7 +47,7 @@
* @param mixed $dsn DSN as PEAR dsn URI or dsn Array
* @param array $params Database column fields which should be returned
*/
- function & DB_NestedSet_MDB2(&$dsn, $params = array())
+ function DB_NestedSet_MDB2(&$dsn, $params = array())
{
$this->_debugMessage('DB_NestedSet_MDB2($dsn, $params = array())');
$this->DB_NestedSet($params);
@@ -95,12 +95,14 @@
}
// }}}
-
// {{{ _query()
- function _query($sql) {
+
+ function _query($sql)
+ {
return $this->db->query($sql);
}
+ // }}}
// {{{ _isDBError()
/**
@@ -212,7 +214,7 @@
return $str;
}
- // }}}
+ // }}}
// {{{ _db_Disconnect()
/**