realname_content_profile_get_types() returns the human-readable 'name' of the content type rather than the machine-friendly 'type', e.g. it's currently returning "Profile" instead of "profile". The attached patch modifies the function to return types instead of names.

Also, shouldn't this function be private? Seems out-of-place for RealName to be providing public helper functions for Content Profile...

Comments

ChrisLaFrancis’s picture

Added some comments.

hass’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)