cvs: pear /MDB2 MDB2.php

From: Date: Wed, 08 Jun 2005 09:06:49 +0000
Subject: cvs: pear /MDB2 MDB2.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-32420@lists.php.net to get a copy of this message
lsmith Wed Jun 8 05:06:49 2005 EDT Modified files: /pear/MDB2 MDB2.php Log: - well the destructor should kick in eventually .. maybe there should be a destroy method .. but its likely to cause all sorts of evil side effects http://cvs.php.net/diff.php/pear/MDB2/MDB2.php?r1=1.104&r2=1.105&ty=u Index: pear/MDB2/MDB2.php diff -u pear/MDB2/MDB2.php:1.104 pear/MDB2/MDB2.php:1.105 --- pear/MDB2/MDB2.php:1.104 Mon Jun 6 05:29:52 2005 +++ pear/MDB2/MDB2.php Wed Jun 8 05:06:46 2005 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: MDB2.php,v 1.104 2005/06/06 09:29:52 lsmith Exp $ +// $Id: MDB2.php,v 1.105 2005/06/08 09:06:46 lsmith Exp $ // /** @@ -1047,8 +1047,7 @@ * @var array * @access protected */ - // todo: fix php5 destruct which is broken by global ref - var $destructor_registered = false; + var $destructor_registered = true; // }}} // {{{ constructor @@ -1093,7 +1092,6 @@ $this->disconnect(); } } - unset($GLOBALS['_MDB2_databases'][$this->db_index]); } // }}}

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