Skip to content
Permalink
Browse files

Removing ?> from AppModel and AppController plugin templates.

  • Loading branch information...
markstory committed Oct 13, 2011
1 parent 648a1f7 commit f65d763551732a64bcbf4a31f588413bdd053573
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/Cake/Console/Command/Task/PluginTask.php
@@ -134,15 +134,13 @@ public function bake($plugin) {
$out = "<?php\n\n";
$out .= "class {$plugin}AppController extends AppController {\n\n";
$out .= "}\n\n";
$out .= "?>";
$this->createFile($this->path . $plugin. DS . 'Controller' . DS . $controllerFileName, $out);
$modelFileName = $plugin . 'AppModel.php';
$out = "<?php\n\n";
$out .= "class {$plugin}AppModel extends AppModel {\n\n";
$out .= "}\n\n";
$out .= "?>";
$this->createFile($this->path . $plugin . DS . 'Model' . DS . $modelFileName, $out);
$this->hr();

0 comments on commit f65d763

Please sign in to comment.
You can’t perform that action at this time.