cvs: pear-core /PEAR/Command Registry.php
| From: | Greg Beaver | Date: | Sun, 20 Feb 2005 16:40:52 +0000 |
| Subject: | cvs: pear-core /PEAR/Command Registry.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-29536@lists.php.net to get a copy of this message | ||
cellog Sun Feb 20 11:40:52 2005 EDT
Modified files:
/pear-core/PEAR/Command Registry.php
Log:
checking for a pecl package moving from pear.php.net
to pecl.php.net channel should be a $reg->packageExists(
not !$reg->packageExists(
http://cvs.php.net/diff.php/pear-core/PEAR/Command/Registry.php?r1=1.58&r2=1.59&ty=u
Index: pear-core/PEAR/Command/Registry.php
diff -u pear-core/PEAR/Command/Registry.php:1.58 pear-core/PEAR/Command/Registry.php:1.59
--- pear-core/PEAR/Command/Registry.php:1.58 Sun Feb 20 00:18:54 2005
+++ pear-core/PEAR/Command/Registry.php Sun Feb 20 11:40:51 2005
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Registry.php,v 1.58 2005/02/20 05:18:54 cellog Exp $
+// $Id: Registry.php,v 1.59 2005/02/20 16:40:51 cellog Exp $
require_once 'PEAR/Command/Common.php';
require_once 'PEAR/Registry.php';
@@ -298,7 +298,7 @@
// "pear shell-test Foo"
if (!$reg->packageExists($package, $channel)) {
if ($channel == 'pecl.php.net') {
- if (!$reg->packageExists($package, 'pear.php.net')) {
+ if ($reg->packageExists($package, 'pear.php.net')) {
$channel = 'pear.php.net'; // magically change channels for
extensions
}
}