60bea3 Reduce a lot of code duplication by introducing the utility method, __get_user

Authored and Committed by Pierre-Yves Chibon 9 years ago
    Reduce a lot of code duplication by introducing the utility method, __get_user
    
    This method searches the database for the user having for the given key
    as username or as email address.
    
        
file modified
+27 -82