cvs: pear-core /PEAR Command.php

From: Date: Mon, 22 Aug 2005 04:15:25 +0000
Subject: cvs: pear-core /PEAR Command.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-3708@lists.php.net to get a copy of this message
cellog Mon Aug 22 00:15:25 2005 EDT Modified files: /pear-core/PEAR Command.php Log: remove return by ref notice http://cvs.php.net/diff.php/pear-core/PEAR/Command.php?r1=1.33&r2=1.34&ty=u Index: pear-core/PEAR/Command.php diff -u pear-core/PEAR/Command.php:1.33 pear-core/PEAR/Command.php:1.34 --- pear-core/PEAR/Command.php:1.33 Wed Jul 20 18:15:59 2005 +++ pear-core/PEAR/Command.php Mon Aug 22 00:15:25 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.33 2005/07/20 22:15:59 cellog Exp $ + * @version CVS: $Id: Command.php,v 1.34 2005/08/22 04:15:25 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -121,14 +121,16 @@ $command = $GLOBALS['_PEAR_Command_shortcuts'][$command]; } if (!isset($GLOBALS['_PEAR_Command_commandlist'][$command])) { - return PEAR::raiseError("unknown command `$command'"); + $a = PEAR::raiseError("unknown command `$command'"); + return $a; } $class = $GLOBALS['_PEAR_Command_commandlist'][$command]; if (!class_exists($class)) { require_once $GLOBALS['_PEAR_Command_objects'][$class]; } if (!class_exists($class)) { - return PEAR::raiseError("unknown command `$command'"); + $a = PEAR::raiseError("unknown command `$command'"); + return $a; } $ui =& PEAR_Command::getFrontendObject(); $obj = &new $class($ui, $config);

« previous php.pear.core (#3708) next »