Skip to content

Commit

Permalink
DDC-3123 - the UoW should clear extra updates immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed May 14, 2014
1 parent 9cdcba3 commit ccc789e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Doctrine/ORM/UnitOfWork.php
Expand Up @@ -483,6 +483,8 @@ private function executeExtraUpdates()
$this->entityChangeSets[$oid] = $changeset;
$this->getEntityPersister(get_class($entity))->update($entity);
}

$this->extraUpdates = array();
}

/**
Expand Down

0 comments on commit ccc789e

Please sign in to comment.