doctrine/doctrine2 — pull request #442 by FabioBatSilva (2012-09-13 00:44:58+00:00)
Title: Remove unused code

This patch remove some unused code.
Sorry, I added this code by mistake, it was part of a old implementation.

@beberlei please backported it to 2.3