cvs: php4 /pear/PEAR/Command Registry.php
| From: | Martin Jansen | Date: | Sat, 01 Feb 2003 09:36:17 +0000 |
| Subject: | cvs: php4 /pear/PEAR/Command Registry.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8627@lists.php.net to get a copy of this message | ||
mj Sat Feb 1 04:36:17 2003 EDT
Modified files:
/php4/pear/PEAR/Command Registry.php
Log:
* displayLine() is deprecated, so better use displayError() here.
Index: php4/pear/PEAR/Command/Registry.php
diff -u php4/pear/PEAR/Command/Registry.php:1.28 php4/pear/PEAR/Command/Registry.php:1.29
--- php4/pear/PEAR/Command/Registry.php:1.28 Tue Dec 31 11:18:28 2002
+++ php4/pear/PEAR/Command/Registry.php Sat Feb 1 04:36:17 2003
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Registry.php,v 1.28 2002/12/31 16:18:28 sebastian Exp $
+// $Id: Registry.php,v 1.29 2003/02/01 09:36:17 mj Exp $
require_once 'PEAR/Command/Common.php';
require_once 'PEAR/Registry.php';
@@ -227,7 +227,7 @@
return $info;
}
if (empty($info)) {
- $this->ui->displayLine("Nothing found for `$params[0]'");
+ $this->ui->displayError("Nothing found for `$params[0]'");
return;
}
unset($info['filelist']);