#6017 removed clear($entityName)
parameter validity checks
The `UnitOfWork` is advanced stuff: don't touch if you don't know what you are doing.
This commit is contained in:
parent
1d7397caf0
commit
53c5824a6b
@ -2382,12 +2382,6 @@ class UnitOfWork implements PropertyChangedListener
|
||||
$this->visitedCollections =
|
||||
$this->orphanRemovals = array();
|
||||
} else {
|
||||
if (! is_string($entityName)) {
|
||||
throw ORMInvalidArgumentException::invalidEntityName($entityName);
|
||||
}
|
||||
|
||||
$entityName = $this->em->getClassMetadata($entityName)->getName();
|
||||
|
||||
$this->clearIdentityMapForEntityName($entityName);
|
||||
$this->clearEntityInsertionsForEntityName($entityName);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user