mozilla/FlightDeck — pull request #94 by zalun (2011-12-20 23:22:19+00:00)
Title: Bug 661619 sync amo deleted users

If a profile is saved with the existing nickname, old one is updated from AMO

If update from AMO is returning None, it will mean that the user is deleted.
We are deleting the user from builder as well.

For existing multiple profiles - the check is done in the same place
error was displayed - in person.managers get_user_by_nickname with the
same solution.

BaseModel run_update_setters is now checking if field to update actually exists.
This is because update_from_AMO was called on every Profile save.

Duplicated email column removed from update_to_AMO, also person.tests
looks a bit nicer