Browse Source

doesn'st need to be a verbose level message

other create mesages are output normally
AD7six 13 years ago
parent
commit
33c112b353
1 changed files with 3 additions and 4 deletions
  1. 3 4
      lib/Cake/Console/Command/Task/PluginTask.php

+ 3 - 4
lib/Cake/Console/Command/Task/PluginTask.php

@@ -151,14 +151,13 @@ class PluginTask extends AppShell {
 			$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', '<success>Created:</success> %s in %s', $plugin, $this->path . $plugin), 2);
-
 		}
 
 		return true;