cvs: pear-core /PEAR Warning.php

From: Date: Thu, 09 Sep 2004 05:53:39 +0000
Subject: cvs: pear-core /PEAR Warning.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-23743@lists.php.net to get a copy of this message
cellog Thu Sep 9 01:53:39 2004 EDT Modified files: /pear-core/PEAR Warning.php Log: STILL EXPERIMENTAL PROOF-OF-CONCEPT forgot to add any storage of warnings if begin() has been called http://cvs.php.net/diff.php/pear-core/PEAR/Warning.php?r1=1.2&r2=1.3&ty=u Index: pear-core/PEAR/Warning.php diff -u pear-core/PEAR/Warning.php:1.2 pear-core/PEAR/Warning.php:1.3 --- pear-core/PEAR/Warning.php:1.2 Sat Sep 4 00:01:24 2004 +++ pear-core/PEAR/Warning.php Thu Sep 9 01:53:39 2004 @@ -15,7 +15,7 @@ // | Authors: Greg Beaver <cellog@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Warning.php,v 1.2 2004/09/04 04:01:24 cellog Exp $ +// $Id: Warning.php,v 1.3 2004/09/09 05:53:39 cellog Exp $ require_once 'PEAR/Exception.php'; /** @@ -247,7 +247,10 @@ self::_signal($warning); } } - self::$_hasWarnings = true; + if (self::$go) { + self::$_hasWarnings = true; + self::$warnings[] = $warning; + } } /**

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