1
0
mirror of synced 2024-12-14 07:06:04 +03:00

[Tools] removed unused local variable $cm in InfoCommand class.

This commit is contained in:
Hugo Hamon 2012-01-12 20:00:19 +01:00 committed by Benjamin Eberlei
parent 5a1c1e55ef
commit aca1470e6b

View File

@ -68,7 +68,7 @@ EOT
foreach ($entityClassNames as $entityClassName) {
try {
$cm = $entityManager->getClassMetadata($entityClassName);
$entityManager->getClassMetadata($entityClassName);
$output->writeln(sprintf("<info>[OK]</info> %s", $entityClassName));
} catch (MappingException $e) {
$output->writeln("<error>[FAIL]</error> ".$entityClassName);