diff --git a/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php b/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php index f183a91ba..c5d71638b 100644 --- a/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php +++ b/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php @@ -130,13 +130,6 @@ class AnnotationDriver implements Driver $mapping['id'] = true; } if ($generatedValueAnnot = $property->getAnnotation('GeneratedValue')) { - if ($generatedValueAnnot->strategy == 'auto') { - try { - throw new \Exception(); - } catch (\Exception $e) { - var_dump($e->getTraceAsString()); - } - } $metadata->setIdGeneratorType(constant('Doctrine\ORM\Mapping\ClassMetadata::GENERATOR_TYPE_' . $generatedValueAnnot->strategy)); } $metadata->mapField($mapping);