Browse Source

removing extra newline in baked files

Rachman Chavik 13 years ago
parent
commit
622d2f04f9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/Cake/Console/Command/Task/PluginTask.php

+ 2 - 2
lib/Cake/Console/Command/Task/PluginTask.php

@@ -147,7 +147,7 @@ class PluginTask extends AppShell {
 			$out = "<?php\n\n";
 			$out .= "App::uses('AppController', 'Controller');\n\n";
 			$out .= "class {$plugin}AppController extends AppController {\n\n";
-			$out .= "}\n\n";
+			$out .= "}\n";
 			$this->createFile($this->path . $plugin . DS . 'Controller' . DS . $controllerFileName, $out);
 
 			$modelFileName = $plugin . 'AppModel.php';
@@ -155,7 +155,7 @@ class PluginTask extends AppShell {
 			$out = "<?php\n\n";
 			$out .= "App::uses('AppModel', 'Model');\n\n";
 			$out .= "class {$plugin}AppModel extends AppModel {\n\n";
-			$out .= "}\n\n";
+			$out .= "}\n";
 			$this->createFile($this->path . $plugin . DS . 'Model' . DS . $modelFileName, $out);
 
 			$this->_modifyBootstrap($plugin);