don't needed to call Propel Application

This commit is contained in:
Manuel Raynaud
2013-07-11 16:49:21 +02:00
parent 98589cc2b6
commit 3c18acb3fc
2 changed files with 1 additions and 8 deletions

View File

@@ -64,10 +64,8 @@ class ModuleGenerateModelCommand extends BaseModuleGenerate {
}
$propelApp = $this->getPropelApplication();
$moduleBuildPropel = new ModelBuildCommand();
$moduleBuildPropel->setApplication($propelApp);
$moduleBuildPropel->setApplication($this->getApplication());
$moduleBuildPropel->run(
new ArrayInput(array(