mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
1b10036712
commit
040f9cca8b
1 changed files with 1 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue