og
og copied to clipboard
Remove user_load call in og_get_user_roles
This prevents adding a partial user object to the entity cache because og_get_user_roles is called during user_save().
I forgot to mention: the effect of having a partial object in de user entity cache is that the realname will not be properly generated for email notifications.
This makes sense to me.