#3056 - Clean get_username API

Identifier #3056
Issue type Feature request or suggestion
Title Clean get_username API
Status Completed
Tags

Risk: Core rearchitecting (custom)

Handling member Chris Graham
Addon core
Description We have a recurring code pattern of calling get_username, then checking for null.

This is silly, we should by default return 'Unknown' for a missing member. If we really want null returned we should pass an extra parameter to say so.

This will clean the code up a lot.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated