cvs: pear-core /PEAR Command.php

From: Date: Wed, 20 Jul 2005 22:15:59 +0000
Subject: cvs: pear-core /PEAR Command.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-33171@lists.php.net to get a copy of this message
cellog Wed Jul 20 18:15:59 2005 EDT Modified files: /pear-core/PEAR Command.php Log: fix Bug #4818: References fix (partial fix) http://cvs.php.net/diff.php/pear-core/PEAR/Command.php?r1=1.32&r2=1.33&ty=u Index: pear-core/PEAR/Command.php diff -u pear-core/PEAR/Command.php:1.32 pear-core/PEAR/Command.php:1.33 --- pear-core/PEAR/Command.php:1.32 Thu Mar 24 00:04:47 2005 +++ pear-core/PEAR/Command.php Wed Jul 20 18:15:59 2005 @@ -16,7 +16,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Command.php,v 1.32 2005/03/24 05:04:47 cellog Exp $ + * @version CVS: $Id: Command.php,v 1.33 2005/07/20 22:15:59 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -112,7 +112,7 @@ * @access public * @static */ - function factory($command, &$config) + function &factory($command, &$config) { if (empty($GLOBALS['_PEAR_Command_commandlist'])) { PEAR_Command::registerCommands(); @@ -137,7 +137,7 @@ // }}} // {{{ & getObject() - function getObject($command) + function &getObject($command) { $class = $GLOBALS['_PEAR_Command_commandlist'][$command]; if (!class_exists($class)) {

« previous php.pear.cvs (#33171) next »