cvs: pear-core /PEAR/PackageFile v2.php

From: Date: Tue, 19 Oct 2004 03:16:46 +0000
Subject: cvs: pear-core /PEAR/PackageFile v2.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-1053@lists.php.net to get a copy of this message
cellog Mon Oct 18 23:16:46 2004 EDT Modified files: /pear-core/PEAR/PackageFile v2.php Log: for static packages, always return __private as the channel name http://cvs.php.net/diff.php/pear-core/PEAR/PackageFile/v2.php?r1=1.24&r2=1.25&ty=u Index: pear-core/PEAR/PackageFile/v2.php diff -u pear-core/PEAR/PackageFile/v2.php:1.24 pear-core/PEAR/PackageFile/v2.php:1.25 --- pear-core/PEAR/PackageFile/v2.php:1.24 Sun Oct 17 16:45:20 2004 +++ pear-core/PEAR/PackageFile/v2.php Mon Oct 18 23:16:46 2004 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: v2.php,v 1.24 2004/10/17 20:45:20 cellog Exp $ +// $Id: v2.php,v 1.25 2004/10/19 03:16:46 cellog Exp $ require_once 'PEAR/ErrorStack.php'; require_once 'PEAR/PackageFile/Generator/v2.php'; /** @@ -459,6 +459,9 @@ function getChannel() { + if (isset($this->_packageInfo['uri'])) { + return '__private'; + } if (isset($this->_packageInfo['channel'])) { return $this->_packageInfo['channel']; }

« previous php.pear.core (#1053) next »