svn: /pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/ Package.php

From: Date: Mon, 29 Mar 2010 21:09:02 +0000
Subject: svn: /pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/ Package.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9345@lists.php.net to get a copy of this message
saltybeagle Mon, 29 Mar 2010 21:09:02 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=297110 Log: When setting up a package, always set the latest release. Changed paths: U pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/Package.php Modified: pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/Package.php =================================================================== --- pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/Package.php 2010-03-29 20:48:54 UTC (rev 297109) +++ pear2/sandbox/SimpleChannelFrontend/trunk/src/SimpleChannelFrontend/Package.php 2010-03-29 21:09:02 UTC (rev 297110) @@ -2,11 +2,17 @@ namespace pear2\SimpleChannelFrontend; class Package implements \IteratorAggregate { + /** + * The actual package object. + * @var \pear2\Pyrus\Package\Remote + */ public $_package; function __construct($options = array()) { $this->_package = $options['frontend']::$channel->remotepackage[$options['package']]; + $this->rewind(); + $this->_package->setRawVersion(null, array('release'=>$this->key())); } function __get($var)

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