#6203 closed defect (bug) (fixed)
bp_get_group_has_avatar and $_FILES check
| Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.3 |
| Component: | Groups | Version: | |
| Severity: | normal | 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
@
12 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.