From b36466d6d01527bf72649d6a2da6a5b77e2d582c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 19 Mar 2010 13:19:49 -0600 Subject: [PATCH] Don't need to checkt for 'recent' PEAR version anymore --- horde/lib/Test.php | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/horde/lib/Test.php b/horde/lib/Test.php index 6e9f5ffea..0e78fed4c 100644 --- a/horde/lib/Test.php +++ b/horde/lib/Test.php @@ -546,16 +546,6 @@ class Horde_Test } $output .= $this->_outputLine($entry); - /* Check for a recent PEAR version. */ - $entry = array(); - $newpear = $this->_isRecentPear(); - $entry[] = 'Recent PEAR'; - $entry[] = $this->_status($newpear); - if (!$newpear) { - $entry[] = 'This version of PEAR is not recent enough. See the Horde PEAR page for details.'; - } - $output .= $this->_outputLine($entry); - /* Go through module list. */ $succeeded = array(); foreach ($this->_pearList as $key => $val) { @@ -729,19 +719,6 @@ class Horde_Test } /** - * Is this a 'recent' version of PEAR? - * - * @param boolean True if a recent version of PEAR. - */ - protected function _isRecentPear() - { - $pear_methods = get_class_methods('PEAR'); - return (is_array($pear_methods) && - (in_array('registershutdownfunc', $pear_methods) || - in_array('registerShutdownFunc', $pear_methods))); - } - - /** * Obtain information on the PHP version. * * @return object stdClass TODO -- 2.11.0