Allow Artefact File save_file() function to save image as profileicon if needed
Bug #1857366 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Currently the save_file() function detects if the file is an image and saves it thus.
But if you want the image file to be saved as a profile icon it can't do that.
So will adjust it so that if you pass in 'profileicon' as artefacttype in the $data object it will save the image as profileicon instead
Changed in mahara: | |
importance: | Undecided → Wishlist |
status: | New → In Progress |
Changed in mahara: | |
milestone: | none → 20.04.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
tags: | added: nominatedfeature |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/10690