cvs: pearweb /include pear-database.php
| From: | Pierre-Alain Joye | Date: | Thu, 03 Mar 2005 22:46:23 +0000 |
| Subject: | cvs: pearweb /include pear-database.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-30038@lists.php.net to get a copy of this message | ||
pajoye Thu Mar 3 17:46:23 2005 EDT
Modified files:
/pearweb/include pear-database.php
Log:
- closer look, not the whole commit has to be reverted
::info must return pecl pkgs info (BC)
http://cvs.php.net/diff.php/pearweb/include/pear-database.php?r1=1.272&r2=1.273&ty=u
Index: pearweb/include/pear-database.php
diff -u pearweb/include/pear-database.php:1.272 pearweb/include/pear-database.php:1.273
--- pearweb/include/pear-database.php:1.272 Wed Mar 2 21:21:52 2005
+++ pearweb/include/pear-database.php Thu Mar 3 17:46:22 2005
@@ -17,7 +17,7 @@
| Tomas V.V.Cox <cox@php.net> |
| Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: pear-database.php,v 1.272 2005/03/03 02:21:52 cellog Exp $
+ $Id: pear-database.php,v 1.273 2005/03/03 22:46:22 pajoye Exp $
*/
require_once 'DB/storage.php';
@@ -530,7 +530,7 @@
function getDepDownloadURL($xsdversion, $dependency, $deppackage,
$prefstate = 'stable', $loc = null, $mirror = null)
{
- $info = package::info($dependency['name'], 'releases');
+ $info = package::info($dependency['name'], 'releases', true);
if (!count($info)) {
return false;
}
@@ -1836,7 +1836,7 @@
function HTTPdownload($package, $version = null, $file = null, $uncompress = false)
{
global $dbh;
- $package_id = package::info($package, 'packageid');
+ $package_id = package::info($package, 'packageid', true);
if (!$package_id) {
return PEAR::raiseError("release download:: package
'".htmlspecialchars($package).