#6203 closed defect (bug) (fixed)
bp_get_group_has_avatar and $_FILES check
Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Groups | Keywords: | has-patch commit |
Cc: |
Description
bp_get_group_has_avatar()
does a $_FILES
check that looks pretty useless given the only usage of this function we currently have in core. I think Boone commented on it in r8244. Can we safely remove this?
Attachments (1)
Change History (6)
#2
in reply to:
↑ 1
@
10 years ago
Replying to boonebgorges:
Yeah, I don't see any harm in removing it. Might look over the logs to see if there's a clue as to why it was first added, but I say rip it out.
Logs show this came only as part of a huge refactoring for 1.1, where lots of dual purpose functions were consolidated. I suspect this was just cross-fire copy/paste.
#3
@
10 years ago
- Keywords has-patch commit added; needs-patch 2nd-opinion removed
- Milestone changed from Under Consideration to 2.3
Note: See
TracTickets for help on using
tickets.
Yeah, I don't see any harm in removing it. Might look over the logs to see if there's a clue as to why it was first added, but I say rip it out.