[sfGuardDoctrinePlugin] ported r9291
[sfGuardDoctrinePlugin] ported r9291

git-svn-id: 4da503867bc384624b31217a839e92ef7af5773d@9342 ee427ae8-e902-0410-961c-c3ed070cd9f9

aalbagarcia/sfDoctrineGuardPlugin