Wikia/app — pull request #5373 by armonr (2014-11-17 20:38:15+00:00)
Title: uc-74 Handle database error + addition of fb client helper

RFCR @garthwebb & @lizlux

Handles database errors on insertion of a user -> fb mapping that already exists.

Also
* Did some refactoring of controller codes and moved common functionality to a helper.
* Removed duplicated methods (probably caused by multiple merges)