Don't need to checkt for 'recent' PEAR version anymore
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 19 Mar 2010 19:19:49 +0000 (13:19 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 19 Mar 2010 19:19:49 +0000 (13:19 -0600)
horde/lib/Test.php

index 6e9f5ff..0e78fed 100644 (file)
@@ -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 <a href="http://www.horde.org/pear/">Horde PEAR page</a> 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