Commit 84c62d8a authored by romanb's avatar romanb

[2.0] Cleanup.

parent 6e5a5068
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment