From b16303e8b233e3900dd2c7e2b8188197920ad4de Mon Sep 17 00:00:00 2001 From: ornicar Date: Thu, 2 Sep 2010 21:32:08 -0700 Subject: [PATCH] [DoctrineBundle] BC break - Load fixtures in Resources/data/fixtures/doctrine/orm/ --- .../Command/LoadDataFixturesDoctrineCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/DoctrineBundle/Command/LoadDataFixturesDoctrineCommand.php b/src/Symfony/Bundle/DoctrineBundle/Command/LoadDataFixturesDoctrineCommand.php index 4757966630..532ab90b21 100644 --- a/src/Symfony/Bundle/DoctrineBundle/Command/LoadDataFixturesDoctrineCommand.php +++ b/src/Symfony/Bundle/DoctrineBundle/Command/LoadDataFixturesDoctrineCommand.php @@ -69,7 +69,7 @@ EOT $namespace = str_replace('/', '\\', dirname($tmp)); $class = basename($tmp); - if (isset($bundleDirs[$namespace]) && is_dir($dir = $bundleDirs[$namespace].'/'.$class.'/Resources/data/fixtures/doctrine')) { + if (isset($bundleDirs[$namespace]) && is_dir($dir = $bundleDirs[$namespace].'/'.$class.'/Resources/data/fixtures/doctrine/orm')) { $paths[] = $dir; } } @@ -204,4 +204,4 @@ EOT return $associationTables; } -} \ No newline at end of file +}