PMC-840
This commit is contained in:
4
thirdparty/pear/Log.php
vendored
4
thirdparty/pear/Log.php
vendored
@@ -126,7 +126,7 @@ class Log
|
||||
* @access public
|
||||
* @since Log 1.0
|
||||
*/
|
||||
function &factory($handler, $name = '', $ident = '', $conf = array(),
|
||||
public static function &factory($handler, $name = '', $ident = '', $conf = array(),
|
||||
$level = PEAR_LOG_DEBUG)
|
||||
{
|
||||
$handler = strtolower($handler);
|
||||
@@ -188,7 +188,7 @@ class Log
|
||||
* @access public
|
||||
* @since Log 1.0
|
||||
*/
|
||||
function &singleton($handler, $name = '', $ident = '', $conf = array(),
|
||||
public static function &singleton($handler, $name = '', $ident = '', $conf = array(),
|
||||
$level = PEAR_LOG_DEBUG)
|
||||
{
|
||||
static $instances;
|
||||
|
||||
Reference in New Issue
Block a user