[zi-cvs] packages/com.zzoss.portlet.package.lib Package.php,1.5,1.6
Sandro Zic <[email protected]> Thu, 25 Mar 2004 12:26:42 +0000
| Newsgroups | gmane.comp.php.zzoss.installer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/zzossinstaller/packages/com.zzoss.portlet.package.lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19846
Modified Files:
Package.php
Log Message:
resolved problem with package reg refresh and "not specified in application"
Index: Package.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.portlet.package.lib/Package.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Package.php 22 Mar 2004 08:25:26 -0000 1.5
--- Package.php 25 Mar 2004 12:26:40 -0000 1.6
***************
*** 44,49 ****
$this->registry->setPackageType($type);
$packages_specified = $this->registry->getApplicationPackages();
- $this->registry->setPackagesSpecified($packages_specified);
- $this->registry->registerPackages('downloads');
$packages_display = $this->registry->getPackagesActions();
$packages_resolve = $this->registry->getPackagesResolve();
--- 44,47 ----
***************
*** 130,147 ****
function showList($type = 'package')
! {
! $packages_specified = array();
! $application_data = $this->registry->getApplication();
!
! if(isset($application_data["release"][$type.'s'][$type])){
! $application_data = $application_data["release"][$type.'s'][$type];
! if(is_array($application_data) && count($application_data)) {
! foreach($application_data as $key => $val) {
! $packages_specified[$val["@"]["name"].'-'.$val["@"]["version"]] = $val;
! }
! }
! }
$this->registry->setPackageType($type);
- $this->registry->setPackagesSpecified($packages_specified);
$this->registry->registerPackages('downloads');
$packages = $this->registry->getPackages();
--- 128,133 ----
function showList($type = 'package')
! {
$this->registry->setPackageType($type);
$this->registry->registerPackages('downloads');
$packages = $this->registry->getPackages();
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click