FriendsOfSymfony/FOSUserBundle — pull request #857 by Fran6co (2012-11-07 21:12:11+00:00)
Title: small perfomance improvement, doctrine ->find method is optimized for id queries

The findOneBy method has a performance hit -> https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php#L660