doctrine/doctrine2 — pull request #962 by netiul (2014-02-25 13:28:16+00:00)
Title: Stop executeDeletions when there is nothing to to delete anymore

A small improvement in `UOW::commit`. Only continue executing the for-loop when there's something to delete. This may save quite some calls to `UOW::executeDeletions`.