Skip to content

Commit

Permalink
hack console to get the doctrine module from globals #4
Browse files Browse the repository at this point in the history
  • Loading branch information
pscheit committed Oct 9, 2013
1 parent b8af010 commit 5d5fa28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Psc/CMS/ProjectConsole.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class ProjectConsole extends \Psc\System\Console\Console {
protected $doctrine;

public function __construct(Project $project = NULL, \Psc\Doctrine\Module $doctrine = NULL) {
parent::__construct();
parent::__construct(NULL, $doctrine, $project);
$this->name = $this->project->getName().' Developer Interface';
$this->version = (string) PSC::getVersion($this->project);
$this->version = NULL;
$this->setUp();
}

Expand Down

0 comments on commit 5d5fa28

Please sign in to comment.