Permalink
Browse files

[Command] Removed the need to parse 'default.properties'

  • Loading branch information...
willdurand committed Dec 21, 2011
1 parent 9c79cde commit f866bf6fa5857142611e4d9b0e1dd4fbac60dd09
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/Propel/Generator/Command/SqlBuild.php
@@ -61,11 +61,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
{
$manager = new SqlManager();
- $buildProperties = realpath($input->getOption('input-dir') . DIRECTORY_SEPARATOR . 'build.properties');
- $defaultProperties = realpath(__DIR__.'/../../../../tools/generator/default.properties');
-
+ $buildProperties = realpath($input->getOption('input-dir') . DIRECTORY_SEPARATOR . 'build.properties');
$generatorConfig = new GeneratorConfig(array_merge(
- $this->getBuildProperties($defaultProperties),
$this->getBuildProperties($buildProperties),
array(
'propel.platform.class' => $input->getOption('platform'),

0 comments on commit f866bf6

Please sign in to comment.