summaryrefslogtreecommitdiff
path: root/pear/PEAR
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2003-12-04 01:35:45 +0000
committerGreg Beaver <cellog@php.net>2003-12-04 01:35:45 +0000
commite8468911edfa40a14f8a03ffe3d5e20aabbbe436 (patch)
treebde1b75954145b0d5f55af4ad608d208a5f316ee /pear/PEAR
parentad9629d2bf40597aee76947bbcc020d97db0f1b8 (diff)
downloadphp-git-e8468911edfa40a14f8a03ffe3d5e20aabbbe436.tar.gz
fixed minor bug
Diffstat (limited to 'pear/PEAR')
-rw-r--r--pear/PEAR/Downloader.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pear/PEAR/Downloader.php b/pear/PEAR/Downloader.php
index 70c69a01dc..f0e96730d1 100644
--- a/pear/PEAR/Downloader.php
+++ b/pear/PEAR/Downloader.php
@@ -359,7 +359,7 @@ class PEAR_Downloader extends PEAR_Common
if ($info['type'] != 'pkg') {
continue;
}
- $ret = $this->_processDependency($info, $mywillinstall);
+ $ret = $this->_processDependency($package, $info, $mywillinstall);
if ($ret === false) {
continue;
}
@@ -467,7 +467,7 @@ class PEAR_Downloader extends PEAR_Common
}
// }}}
- // {{{ _processDependency($info)
+ // {{{ _processDependency($package, $info, $mywillinstall)
/**
* Process a dependency, download if necessary
@@ -476,7 +476,7 @@ class PEAR_Downloader extends PEAR_Common
* @return false|string|PEAR_Error
* @access private
*/
- function _processDependency($info, $mywillinstall)
+ function _processDependency($package, $info, $mywillinstall)
{
$state = $this->_preferredState;
if (!isset($this->_options['alldeps']) && isset($info['optional']) &&