Tidy up the artefact attachments_from_id_list() function
Bug #1867822 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Lisa Seeto |
Bug Description
There are a bunch of places that call this function and then straight after do a loop to add a file icon
We should do the adding of the file icon within the call to attachments_
eg:
htdocs/
htdocs/
htdocs/
htdocs/
htdocs/
Also there are a bunch of places where we don't even call the function and just duplicate it:
htdocs/
htdocs/
htdocs/
These should be fixed to use the function we already have
Changed in mahara: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
assignee: | nobody → Lisa Seeto (lisaseeto) |
tags: | added: code-cleanup |
Changed in mahara: | |
status: | Confirmed → In Progress |
tags: |
added: refactoring removed: code-cleanup |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/10954