From 33c112b353bc88e9faa5a658f2f3f31705b317ea Mon Sep 17 00:00:00 2001 From: AD7six Date: Thu, 7 Jun 2012 23:03:22 +0200 Subject: [PATCH] doesn'st need to be a verbose level message other create mesages are output normally --- lib/Cake/Console/Command/Task/PluginTask.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/Cake/Console/Command/Task/PluginTask.php b/lib/Cake/Console/Command/Task/PluginTask.php index 0368240ee38..4ca79815a29 100644 --- a/lib/Cake/Console/Command/Task/PluginTask.php +++ b/lib/Cake/Console/Command/Task/PluginTask.php @@ -151,14 +151,13 @@ public function bake($plugin) { $bootstrap = new File(APP . 'Config' . DS . 'bootstrap.php', false); $contents = $bootstrap->read(); if (!preg_match("@\n\s*CakePlugin::loadAll@", $contents)) { - $bootstrap->append("CakePlugin::load('$plugin', array('bootstrap' => false, 'routes' => false));"); - $this->out('', 1, Shell::VERBOSE); - $this->out(__d('cake_dev', '%s modified', APP . 'Config' . DS . 'bootstrap.php', 1, Shell::VERBOSE)); + $bootstrap->append("\nCakePlugin::load('$plugin', array('bootstrap' => false, 'routes' => false));\n"); + $this->out(''); + $this->out(__d('cake_dev', '%s modified', APP . 'Config' . DS . 'bootstrap.php')); } $this->hr(); $this->out(__d('cake_console', 'Created: %s in %s', $plugin, $this->path . $plugin), 2); - } return true;