From: Stig Bakken Date: Mon, 29 Apr 2002 06:23:51 +0000 (+0000) Subject: * PEAR_Common::downloadHttp no longer wants a config object X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~373 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ca41f7f49ded21f088572ee791e5a82e9d1bcb1;p=php * PEAR_Common::downloadHttp no longer wants a config object --- diff --git a/pear/PEAR/Command/Remote.php b/pear/PEAR/Command/Remote.php index 4014149a7f..d992202141 100644 --- a/pear/PEAR/Command/Remote.php +++ b/pear/PEAR/Command/Remote.php @@ -125,7 +125,7 @@ class PEAR_Command_Remote extends PEAR_Command_Common $pkgfile = $params[0]; } $this->bytes_downloaded = 0; - $saved = PEAR_Common::downloadHttp($pkgfile, $this->ui, $this->config, '.', + $saved = PEAR_Common::downloadHttp($pkgfile, $this->ui, '.', array(&$this, 'downloadCallback')); if (PEAR::isError($saved)) { return $this->raiseError($saved);