updating plugin task, fixes #3781

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6276 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-12-29 20:53:58 +00:00
parent 1b10036712
commit 040f9cca8b

View file

@ -72,7 +72,7 @@ class PluginTask extends Shell {
$plugin = null;
if(isset($this->args[0])) {
$plugin = Inflector::classify($this->args[0]);
$plugin = Inflector::camelize($this->args[0]);
$this->Dispatch->shiftArgs();
$this->out(sprintf('Plugin: %s', $plugin));
$pluginPath = Inflector::underscore($plugin) . DS;
@ -107,7 +107,6 @@ class PluginTask extends Shell {
* @return void
*/
function __interactive($plugin = null) {
$plugin = null;
while ($plugin === null) {
$plugin = $this->in(__('Enter the name of the plugin in CamelCase format', true));
}