cvs: pearweb /include pear-database.php

From: Date: Thu, 08 Apr 2004 04:43:24 +0000
Subject: cvs: pearweb /include pear-database.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-18007@lists.php.net to get a copy of this message
cellog Thu Apr 8 00:43:24 2004 EDT Modified files: /pearweb/include pear-database.php Log: fix pear list-all # server-side cache clear will be needed for the package.listall method http://cvs.php.net/diff.php/pearweb/include/pear-database.php?r1=1.184&r2=1.185&ty=u Index: pearweb/include/pear-database.php diff -u pearweb/include/pear-database.php:1.184 pearweb/include/pear-database.php:1.185 --- pearweb/include/pear-database.php:1.184 Sat Apr 3 10:54:45 2004 +++ pearweb/include/pear-database.php Thu Apr 8 00:43:24 2004 @@ -17,7 +17,7 @@ | Tomas V.V.Cox <cox@php.net> | | Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: pear-database.php,v 1.184 2004/04/03 15:54:45 cellog Exp $ + $Id: pear-database.php,v 1.185 2004/04/08 04:43:24 cellog Exp $ */ require_once 'DB/storage.php'; @@ -559,14 +559,14 @@ $deps = $dbh->getAll( "SELECT package, release , type, relation, version, name ". "FROM deps", null, DB_FETCHMODE_ASSOC); + foreach ($packageinfo as $pkg => $info) { + $packageinfo[$pkg]['stable'] = false; + } foreach ($stablereleases as $pkg => $stable) { $packageinfo[$pkg]['stable'] = $stable['stable']; $packageinfo[$pkg]['unstable'] = false; $packageinfo[$pkg]['state'] = $stable['state']; } - foreach ($packageinfo as $pkg => $info) { - $packageinfo[$pkg]['stable'] = false; - } if (!$stable_only) { foreach ($allreleases as $pkg => $stable) { if ($stable['state'] == 'stable') {

« previous php.pear.cvs (#18007) next »