From 2034c61557c8ef2ba2efb9c0f09e9e72bcc66d05 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Mon, 20 May 2002 10:45:23 +0000 Subject: [PATCH] * _infoFromAny goes public! --- pear/PEAR/Common.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)) { -- 2.50.1