cuonic/PHPAuth-2.0 — pull request #33 by andyhmltn (2013-02-26 09:13:41+00:00)
Title: Make the 'is*Taken' methods DRYer

Both `isUsernameTaken` and `isEmailTaken` are extremely similar and only have one word changed. In favour of [DRY](http://en.wikipedia.org/wiki/Don't_repeat_yourself), I've pushed them both into a new `isFieldTaken` method.