Removed end of generated file whitespace from plugin bake task. Closes #5102

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7341 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-07-16 12:34:03 +00:00
parent 8bbc0d7078
commit 2e5532348d

View file

@ -164,7 +164,7 @@ class PluginTask extends Shell {
$out = "<?php\n\n"; $out = "<?php\n\n";
$out .= "class {$plugin}AppController extends AppController {\n\n"; $out .= "class {$plugin}AppController extends AppController {\n\n";
$out .= "}\n\n"; $out .= "}\n\n";
$out .= "?>\n"; $out .= "?>";
$this->createFile($this->path . $pluginPath. DS . $controllerFileName, $out); $this->createFile($this->path . $pluginPath. DS . $controllerFileName, $out);
$modelFileName = $pluginPath . '_app_model.php'; $modelFileName = $pluginPath . '_app_model.php';
@ -172,7 +172,7 @@ class PluginTask extends Shell {
$out = "<?php\n\n"; $out = "<?php\n\n";
$out .= "class {$plugin}AppModel extends AppModel {\n\n"; $out .= "class {$plugin}AppModel extends AppModel {\n\n";
$out .= "}\n\n"; $out .= "}\n\n";
$out .= "?>\n"; $out .= "?>";
$this->createFile($this->path . $pluginPath . DS . $modelFileName, $out); $this->createFile($this->path . $pluginPath . DS . $modelFileName, $out);
$this->hr(); $this->hr();