1
0
mirror of synced 2025-02-02 13:31:45 +03:00

#6759 removing outdated comment as per @alcaeus' review

Ref: https://github.com/doctrine/doctrine2/pull/6760#discussion_r143347881
This commit is contained in:
Marco Pivetta 2017-10-08 10:57:33 +02:00
parent dd12ba88ee
commit 3dd7eb5888
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629

View File

@ -802,8 +802,6 @@ class BasicEntityPersister implements EntityPersister
);
}
// unset the old value and set the new sql aliased value here. By definition
// unset($identifier[$targetKeyColumn] works here with how UnitOfWork::createEntity() calls this method.
$computedIdentifier[$targetClass->getFieldForColumn($targetKeyColumn)] =
$sourceClass->reflFields[$sourceClass->fieldNames[$sourceKeyColumn]]->getValue($sourceEntity);
}