Revert "Fixing postFlush event for doctrine >= 2.4"

This reverts commit a5bf68b8ad38321325de38954bfc7ca305e00277.
Merge pull request #12 from tyx/revert/postFlush2.4

Revert "Fixing postFlush event for doctrine >= 2.4"