cvs: php4 /pear/PEAR/Command Registry.php

From: Date: Fri, 06 Jun 2003 16:07:15 +0000
Subject: cvs: php4 /pear/PEAR/Command Registry.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10733@lists.php.net to get a copy of this message
mj Fri Jun 6 12:07:15 2003 EDT Modified files: /php4/pear/PEAR/Command Registry.php Log: * Use raiseError(), like it's done in the rest of class also. # Bug: 23932 Index: php4/pear/PEAR/Command/Registry.php diff -u php4/pear/PEAR/Command/Registry.php:1.31 php4/pear/PEAR/Command/Registry.php:1.32 --- php4/pear/PEAR/Command/Registry.php:1.31 Thu Jun 5 02:32:10 2003 +++ php4/pear/PEAR/Command/Registry.php Fri Jun 6 12:07:15 2003 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Registry.php,v 1.31 2003/06/05 06:32:10 mj Exp $ +// $Id: Registry.php,v 1.32 2003/06/06 16:07:15 mj Exp $ require_once 'PEAR/Command/Common.php'; require_once 'PEAR/Registry.php'; @@ -227,7 +227,7 @@ return $info; } if (empty($info)) { - $this->ui->displayError("Nothing found for `$params[0]'"); + $this->raiseError("Nothing found for `$params[0]'"); return; } unset($info['filelist']);

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