1
0
mirror of synced 2025-01-30 20:11:49 +03:00

DDC-952 - Remove unnecessary instance variable and comment on one feature.

This commit is contained in:
Benjamin Eberlei 2011-03-16 00:03:43 +01:00
parent b7e522d7a7
commit 4b98e3ea8e

View File

@ -225,13 +225,6 @@ class UnitOfWork implements PropertyChangedListener
*/
private $eagerLoadingEntities = array();
/**
* Map of Collections that should be eager loaded when requested.
*
* @var array
*/
private $eagerLoadingCollections = array();
/**
* Initializes a new UnitOfWork instance, bound to the given EntityManager.
*
@ -1901,6 +1894,7 @@ class UnitOfWork implements PropertyChangedListener
}
}
// Loading the entity right here, if its in the eager loading map get rid of it there.
unset($this->eagerLoadingEntities[$class->name][$idHash]);
// Properly initialize any unfetched associations, if partial objects are not allowed.