Opened 9 years ago

Closed 7 years ago

#928 closed defect (fixed)

Call get_upload_file_limits directly in submit_media()

Reported by: Elrond Owned by:
Priority: minor Milestone:
Component: programming Keywords: bitesized
Cc: Parent Tickets:


I think, every caller of submit_media calls get_upload_file_limits before it to get the limits and then passes them into submit_media(). So the idea is to drop the args to submit_media and integrate this into submit_media.


Attachments (1)

0001-Fix-928-cleanup-to-avoid-duplicated-get_upload_file_.patch (6.6 KB) - added by Loic Dachary 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by Lanya Butler

Owner: set to Lanya Butler
Status: newin_progress

comment:2 Changed 7 years ago by Loic Dachary

Owner: Lanya Butler deleted
Status: in_progressaccepted

comment:3 Changed 7 years ago by Loic Dachary

Status: acceptedreview

comment:4 Changed 7 years ago by Boris Bobrov

fixed in 6c06785. thank you!

comment:5 Changed 7 years ago by Boris Bobrov

Resolution: fixed
Status: reviewclosed
Note: See TracTickets for help on using tickets.