← Back to team overview

mahara-contributors team mailing list archive

[Bug 1857366] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10690
Committed: https://git.mahara.org/mahara/mahara/commit/9330ccd3ef8a552afd990b11936b3cf6ad31ddf5
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    master

commit 9330ccd3ef8a552afd990b11936b3cf6ad31ddf5
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue Dec 24 07:42:59 2019 +1300

Bug 1857366: Allow save_file() to make profileicon rather than image

If we specify the artefacttype = 'profileicon'

behatnotneeded

Change-Id: I20aaa0c5176427abab3564fdf7c267617e6e81b7
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1857366

Title:
  Allow Artefact File save_file() function to save image as profileicon
  if needed

Status in Mahara:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1857366/+subscriptions


References