]> granicus.if.org Git - php/commitdiff
* no need for getCommands() here
authorStig Bakken <ssb@php.net>
Mon, 20 May 2002 00:17:43 +0000 (00:17 +0000)
committerStig Bakken <ssb@php.net>
Mon, 20 May 2002 00:17:43 +0000 (00:17 +0000)
pear/PEAR/Command/Install.php

index d136e740a50f93f1f4f23738f252b2032b84f70b..f97cb070e59bd6f42dc1fd439e4668ecbb92fc9d 100644 (file)
@@ -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()