From: Stig Bakken Date: Mon, 20 May 2002 00:17:43 +0000 (+0000) Subject: * no need for getCommands() here X-Git-Tag: RELEASE_0_4~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7542066eef5b34311b6a2de154badf6d5f396ba7;p=php * no need for getCommands() here --- diff --git a/pear/PEAR/Command/Install.php b/pear/PEAR/Command/Install.php index d136e740a5..f97cb070e5 100644 --- a/pear/PEAR/Command/Install.php +++ b/pear/PEAR/Command/Install.php @@ -144,24 +144,6 @@ More than one package may be specified at once. parent::PEAR_Command_Common($ui, $config); } - // }}} - - // {{{ getCommands() - - /** - * Return a list of all the commands defined by this class. - * @return array list of commands - * @access public - */ - function getCommands() - { - $ret = array(); - foreach (array_keys($this->commands) as $command) { - $ret[$command] = $this->commands[$command]['summary']; - } - return $ret; - } - // }}} // {{{ run()