* _infoFromAny goes public!

This commit is contained in:
Stig Bakken 2002-05-20 10:45:23 +00:00
parent 840b5f8e67
commit 2034c61557

View file

@ -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)) {