From 84c62d8aec8b44705691f0b06821de88866e465e Mon Sep 17 00:00:00 2001 From: romanb Date: Sun, 7 Jun 2009 17:21:57 +0000 Subject: [PATCH] [2.0] Cleanup. --- lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php | 7 ------- 1 file changed, 7 deletions(-) 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);