svn: /pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/REST/ Package.php Release.php
| From: | Brett Bieber | Date: | Wed, 18 Nov 2009 23:08:09 +0000 |
| Subject: | svn: /pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/REST/ Package.php Release.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9033@lists.php.net to get a copy of this message | ||
saltybeagle Wed, 18 Nov 2009 23:08:09 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290960
Log:
Fix some references to the channel name.
Changed paths:
U pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/REST/Package.php
U pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/REST/Release.php
Modified: pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/REST/Package.php
===================================================================
--- pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/REST/Package.php 2009-11-18
23:07:09 UTC (rev 290959)
+++ pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/REST/Package.php 2009-11-18
23:08:09 UTC (rev 290960)
@@ -92,7 +92,7 @@
}
$xml = array();
$xml['n'] = $new->name;
- $xml['c'] = $this->channel;
+ $xml['c'] = $this->channel->name;
$categories = new Categories($this->channel);
$category = $categories->getPackageCategory($new->name);
$xml['ca'] = array(
Modified: pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/REST/Release.php
===================================================================
--- pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/REST/Release.php 2009-11-18
23:07:09 UTC (rev 290959)
+++ pear2/sandbox/SimpleChannelServer/trunk/src/SimpleChannelServer/REST/Release.php 2009-11-18
23:08:09 UTC (rev 290960)
@@ -87,7 +87,7 @@
$this->getPackageRESTLink(strtolower($new->name))
),
'_content' => $new->name);
- $xml['r']['c'] = $this->channel;
+ $xml['r']['c'] = $this->channel->name;
$categories = new Categories($this->channel);
$category = $categories->getPackageCategory($new->name);
$xml['r']['v'] = $new->version['release'];
@@ -99,7 +99,7 @@
$xml['r']['da'] = $new->date. ' ' . $new->time;
$xml['r']['n'] = $new->notes;
$xml['r']['f'] = filesize($new->archivefile);
- $xml['r']['g'] = 'http://' .
$this->channel . '/get/' . $new->name .
+ $xml['r']['g'] = 'http://' .
$this->channel->name . '/get/' . $new->name .
'-' . $new->version['release'];
$xml['r']['x'] = array('attribs' => array(
'xlink:href' => 'package.' .
$new->version['release'] . '.xml'
@@ -125,7 +125,7 @@
$this->getPackageRESTLink(strtolower($new->name))
),
'_content' => $new->name);
- $xml['r']['c'] = $this->channel;
+ $xml['r']['c'] = $this->channel->name;
$categories = new Categories($this->channel);
$category = $categories->getPackageCategory($new->name);
$xml['r']['v'] = $new->version['release'];
@@ -139,7 +139,7 @@
$xml['r']['da'] = $new->date . ' ' . $new->time;
$xml['r']['n'] = $new->notes;
$xml['r']['f'] = filesize($new->archivefile);
- $xml['r']['g'] = 'http://' .
$this->channel . '/get/' . $new->name .
+ $xml['r']['g'] = 'http://' .
$this->channel->name . '/get/' . $new->name .
'-' . $new->version['release'];
$xml['r']['x'] = array('attribs' => array(
'xlink:href' => 'package.' .
$new->version['release'] . '.xml'