From 040f9cca8b2f94f2635f3f9274f004423006da44 Mon Sep 17 00:00:00 2001 From: gwoo Date: Sat, 29 Dec 2007 20:53:58 +0000 Subject: [PATCH] updating plugin task, fixes #3781 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6276 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/console/libs/tasks/plugin.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cake/console/libs/tasks/plugin.php b/cake/console/libs/tasks/plugin.php index eed15981a..2237e81e5 100644 --- a/cake/console/libs/tasks/plugin.php +++ b/cake/console/libs/tasks/plugin.php @@ -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)); }