From: Stig Bakken Date: Mon, 20 May 2002 10:45:23 +0000 (+0000) Subject: * _infoFromAny goes public! X-Git-Tag: RELEASE_0_10~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2034c61557c8ef2ba2efb9c0f09e9e72bcc66d05;p=php * _infoFromAny goes public! --- diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index 0fcb53968c..7427ef96c6 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -888,9 +888,9 @@ class PEAR_Common extends PEAR } // }}} - // {{{ _infoFromAny() + // {{{ infoFromAny() - function _infoFromAny($info) + function infoFromAny($info) { if (is_string($info) && file_exists($info)) { $tmp = substr($info, -4); @@ -926,7 +926,7 @@ class PEAR_Common extends PEAR $_PEAR_Common_dependency_relations, $_PEAR_Common_file_roles, $_PEAR_Common_replacement_types; - if (PEAR::isError($info = $this->_infoFromAny($info))) { + if (PEAR::isError($info = $this->infoFromAny($info))) { return $this->raiseError($info); } if (!is_array($info)) { @@ -1142,7 +1142,7 @@ class PEAR_Common extends PEAR if (!function_exists("token_get_all")) { return false; } - if (PEAR::isError($info = $this->_infoFromAny($any))) { + if (PEAR::isError($info = $this->infoFromAny($any))) { return $this->raiseError($info); } if (!is_array($info)) {