Permalink
Browse files

Fix platform loading

  • Loading branch information...
1 parent 9177ece commit 8cfc3a1847c7f844c74186bd315a3e4e0ffa6325 @grray grray committed Jul 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/task/sfPropelDiffTask.class.php
@@ -81,7 +81,7 @@ protected function execute($arguments = array(), $options = array())
}
$pdo = $databaseManager->getDatabase($name)->getConnection();
$database = new Database($name);
- $platform = $this->getPlatform($databaseManager, $name);
+ $platform = $this->getGeneratorConfig()->getConfiguredPlatform($pdo, $name);
$database->setPlatform($platform);
$database->setDefaultIdMethod(IDMethod::NATIVE);
$parser = $this->getParser($databaseManager, $name, $pdo);

0 comments on commit 8cfc3a1

Please sign in to comment.