#4753 closed defect (bug) (invalid)
Simplify get_userdatabylogin
Reported by: | filosofo | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | normal | Version: | 2.3 |
Component: | Administration | Keywords: | get_userdatabylogin get_userdata pluggable has-patch 2nd-opinion |
Focuses: | Cc: |
Description
get_userdatabylogin duplicates get_userdata unnecessarily with direct calls to the database. The attached patch gets the userdata from get_userdata if it's not already cached.
Attachments (1)
Change History (5)
#2
@
17 years ago
- Keywords has-patch 2nd-opinion added; needs-patch removed
- Priority changed from normal to low
After the changes made in #5392 this looks much more invalid, The functions seem to have been normalised a fair bit with use of _fill_user(), and while it could be simplified down furthur, it doesnt look like thats needing to be a high priority.
Note: See
TracTickets for help on using
tickets.
Relates to #5392. The get_userby... functions still have a lot of overlap though.