cvs: php-src /pear PEAR.php

From: Date: Wed, 16 Jun 2004 16:26:12 +0000
Subject: cvs: php-src /pear PEAR.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-399@lists.php.net to get a copy of this message
ssb Wed Jun 16 12:26:12 2004 EDT Modified files: /php-src/pear PEAR.php Log: * don't register object on destructors list if it does not define its own emulated destructor http://cvs.php.net/diff.php/php-src/pear/PEAR.php?r1=1.81&r2=1.82&ty=u Index: php-src/pear/PEAR.php diff -u php-src/pear/PEAR.php:1.81 php-src/pear/PEAR.php:1.82 --- php-src/pear/PEAR.php:1.81 Tue Jun 15 12:33:46 2004 +++ php-src/pear/PEAR.php Wed Jun 16 12:26:12 2004 @@ -18,7 +18,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // +--------------------------------------------------------------------+ // -// $Id: PEAR.php,v 1.81 2004/06/15 16:33:46 pajoye Exp $ +// $Id: PEAR.php,v 1.82 2004/06/16 16:26:12 ssb Exp $ // define('PEAR_ERROR_RETURN', 1); @@ -159,7 +159,7 @@ if ($error_class !== null) { $this->_error_class = $error_class; } - while ($classname) { + while ($classname && strcasecmp($classname, "pear")) { $destructor = "_$classname"; if (method_exists($this, $destructor)) { global $_PEAR_destructor_object_list;

« previous php.pear.core (#399) next »