From: Greg Beaver Date: Sat, 6 Dec 2003 05:59:25 +0000 (+0000) Subject: improve error message, it was both terrible grammar and unclear. X-Git-Tag: php-5.0.0b3RC1~265 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29df86f2d1570fd6d97ab058984ead45e7098830;p=php improve error message, it was both terrible grammar and unclear. --- diff --git a/pear/PEAR/Downloader.php b/pear/PEAR/Downloader.php index b5bbd012ef..23a91f6589 100644 --- a/pear/PEAR/Downloader.php +++ b/pear/PEAR/Downloader.php @@ -477,7 +477,8 @@ class PEAR_Downloader extends PEAR_Common $this->log(0, "Package '{$curinfo['package']}-{$curinfo['version']}' already installed, skipping"); return false; } elseif (version_compare("$version", "{$curinfo['version']}") < 0) { - $this->log(0, "Already got '{$curinfo['package']}-{$curinfo['version']}' greater than requested '$version', skipping"); + $this->log(0, "Package '{$curinfo['package']}' version '{$curinfo['version']}' " . + " is installed and {$curinfo['version']} is > requested '$version', skipping"); return false; } }