cvs: php4 /pear PEAR.php

From: Date: Wed, 29 May 2002 21:55:53 +0000
Subject: cvs: php4 /pear PEAR.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4278@lists.php.net to get a copy of this message
jan Wed May 29 17:55:53 2002 EDT Modified files: /php4/pear PEAR.php Log: - minor improvement of readability, #thanks richy ;) Index: php4/pear/PEAR.php diff -u php4/pear/PEAR.php:1.40 php4/pear/PEAR.php:1.41 --- php4/pear/PEAR.php:1.40 Wed May 29 17:41:27 2002 +++ php4/pear/PEAR.php Wed May 29 17:55:52 2002 @@ -18,7 +18,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // +----------------------------------------------------------------------+ // -// $Id: PEAR.php,v 1.40 2002/05/29 21:41:27 jan Exp $ +// $Id: PEAR.php,v 1.41 2002/05/29 21:55:52 jan Exp $ // define('PEAR_ERROR_RETURN', 1); @@ -403,7 +403,7 @@ $deleted = false; } } - return $deleted?true:PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME + return $deleted ? true : PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME } elseif (!empty($error_code)) { // $error_code comes alone, trying to unset it if ($this->_checkDelExpect($error_code)) {

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