1
0
mirror of synced 2025-02-20 22:23:14 +03:00

[2.0] Removed old comment.

This commit is contained in:
romanb 2009-10-16 10:39:44 +00:00
parent 9bb17475ed
commit cc59231993

View File

@ -381,7 +381,6 @@ class ObjectHydrator extends AbstractHydrator
$this->_uow->setOriginalEntityProperty($oid, $relationField, $element);
$targetClass = $this->_ce[$relation->targetEntityName];
if ($relation->isOwningSide) {
//FIXME: Not correct for many-to-one where other side is a collection!
// If there is an inverse mapping on the target class its bidirectional
if (isset($targetClass->inverseMappings[$relation->sourceEntityName][$relationField])) {
$inverseAssoc = $targetClass->inverseMappings[$relation->sourceEntityName][$relationField];