Code
- get_user_by_code()
- validate_email_address()
- get_user_by_email()
- find_active_users()
- generate_invite_code()
- execute_new_password_request()
- get_user_by_username()
- send_new_password_request()
- force_user_password_reset()
- validate_username()
- generate_random_cleartext_password()
- elgg_validate_invite_code()
- get_user()
- disable_user_entities()
- register_user()
- _elgg_user_prepare_unban_notification()
- elgg_avatar_page_handler()
- _elgg_user_page_handler()
- users_init()
- _elgg_user_get_subscriber_unban_action()
- elgg_get_login_url()
- _elgg_user_ban_notification()
- _elgg_user_topbar_menu()
- elgg_get_registration_url()
- _elgg_user_set_icon_file()
- user_avatar_hook()
- elgg_user_account_page_handler()
- _elgg_user_page_menu()
- elgg_user_hover_menu()
This check looks for function or method calls that always return null and whose return value is used.
The method
getObject()
can return nothing but null, so it makes no sense to use the return value.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.