cvs: pear-core /PEAR/Command Install.php
| From: | Greg Beaver | Date: | Mon, 07 Feb 2005 17:43:15 +0000 |
| Subject: | cvs: pear-core /PEAR/Command Install.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-29188@lists.php.net to get a copy of this message | ||
cellog Mon Feb 7 12:43:15 2005 EDT
Modified files:
/pear-core/PEAR/Command Install.php
Log:
fix Bug #3388: Notice with upgrade-all and PEAR 1.4.0a1
http://cvs.php.net/diff.php/pear-core/PEAR/Command/Install.php?r1=1.83&r2=1.84&ty=u
Index: pear-core/PEAR/Command/Install.php
diff -u pear-core/PEAR/Command/Install.php:1.83 pear-core/PEAR/Command/Install.php:1.84
--- pear-core/PEAR/Command/Install.php:1.83 Sun Feb 6 16:29:40 2005
+++ pear-core/PEAR/Command/Install.php Mon Feb 7 12:43:14 2005
@@ -16,7 +16,7 @@
// | Author: Stig S?ther Bakken <ssb@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Install.php,v 1.83 2005/02/06 21:29:40 cellog Exp $
+// $Id: Install.php,v 1.84 2005/02/07 17:43:14 cellog Exp $
require_once "PEAR/Command/Common.php";
require_once "PEAR/Installer.php";
@@ -347,6 +347,9 @@
$reg = &$this->config->getRegistry();
$savechannel = $this->config->get('default_channel');
foreach ($reg->listChannels() as $channel) {
+ if ($channel == '__uri') {
+ continue;
+ }
$this->config->set('default_channel', $channel);
$state = $this->config->get('preferred_state');
PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN);