From: Greg Beaver Date: Fri, 31 Oct 2003 22:22:17 +0000 (+0000) Subject: deleted code says it all X-Git-Tag: php-5.0.0b3RC1~809 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5754cfe68cbbcf6a5dcb099a437918015f3a98d6;p=php deleted code says it all --- diff --git a/pear/PEAR/Installer.php b/pear/PEAR/Installer.php index 8e977911cc..2804a16b54 100644 --- a/pear/PEAR/Installer.php +++ b/pear/PEAR/Installer.php @@ -1314,11 +1314,6 @@ class PEAR_Installer extends PEAR_Common $code = $depchecker->callCheckMethod($error, $dep); if ($code) { if (isset($dep['optional']) && $dep['optional'] == 'yes') { -/* die ugly hack die - // Ugly hack to adjust the error messages - $error = str_replace('requires ', '', $error); - $error = ucfirst($error); - $error = $error . ' is recommended to utilize some features.';*/ $optional_deps[] = array($dep, $code, $error); } else { $failed_deps[] = array($dep, $code, $error);